#45559: 這有難度嗎


11155088@gs.hs.ntnu.edu.tw (ace1110)


print(int(input())-1911)