In school the libary gets painted every 2 years, the cafeteria every 3 years and classrooms every 4 years. If they were painted in 2010, when is the next time they will all be painted in the same year??

A: 2012

B: 2034

C: 2022

D: 2019

please help no one will help me and I can't handle getting another F in math ;^;