print(io.read("*n") * 2 - 1)