loop{p 0**((1+8*read_line.to_i 2)**0.5%1)}