func main() var n: int :: cui@inputInt() var ans: int :: 1 if(n % 2 = 0) do ans :: n / 2 + 1 end if do cui@print("\{ans}\n") end func