func main[] : i64 let n = 600851475143 let f = 2 while f * f <= n if n % f == 0 n = n / f else f = f + 1 io.println_i64(n)