In Problem D of last round my submission passed. In this one, if N is odd I took lcm of last three numbers. When I took the lcm of the first three numbers, it didn't pass. I guess there is no such test case that has these numbers in the end. Can somebody prove or disprove my solution?
Thanks codebuster_10 for uphacking my submission