func main() var n: int :: cui@inputInt() var ans: int :: 2017 - n do cui@print("\{ans}\n") end func