Solutions and multiple solutions for second order periodic systems with a nonsmooth potential