﻿from math import *

n=int(input("n="))
u=1
print(0,u,1/u**2)
for i in range(1,n+1):
    u=u/sqrt(u**2+1)
    print(i,u,1/u**2)





