#45853: 答案 (python一行)


Morrischen (morris)


print(int(input())-1911)