func main[] : i64 let found = 0 let i = 1 while true if math.is_prime(i) found = found + 1 if found == 10001 io.println_i64(i) break i = i + 1