Pendulum A is 20 cm long and has a 5 gram mass on it. Pendulum B is 30 cm long and has a 10 gram mass on it. Which one has a faster period?