Rosetta Problems

Beginner Free Contest 5 - LCMSEQ

https://oj.vnoi.info/problem/fcb005_lcmseq