func main() var n: int :: cui@inputInt() var a: int var b: int for(1, n) var strs: [][]char :: cui@input().split(".") var isNegative: bool :: strs[0][0] = '-' do a :+ strs[0].toInt(&) if(^strs = 2) for i(0, ^strs[1] - 1) do b :+ (isNegative ?(-1, 1)) * (strs[1][i] $ int - '0' $ int) * 10 ^ (9 - i) end for end if end for if(b < 0) do a :- -b / 10 ^ 10 + 1 do b :+ (-b / 10 ^ 10 + 1) * 10 ^ 10 end if if(b >= 10 ^ 10) do a :+ b / 10 ^ 10 do b :% 10 ^ 10 end if if(a < 0) do cui@print("-") if(b <> 0) do a :+ 1 do b :- 10 ^ 10 end if end if do cui@print("\{a.abs()}.\{b.abs().toStrFmt("010d")}\n") end func