A cylindrical piece of cork of base area A density p

A cylindrical piece of cork of base area A density p and height L floats in a liquid of density pL. The cork is depressed slightly and then released. Show that the cork oscillates up and down simple harmonically and find its time period of oscillations.