((^(n a b c)((^f(print(+(f a)(f b)(f c)(-(f a b c)(f a b)(f b c)(f c a)))))(^ _(div n(apply lcm _)))))#0=(read)#0##0##0#)