LightOJ – Eid

Problem Name: Eid
Judge: LightOJ
Algorithms & DS: LCM(Euclid), Big Integer