#45849: python超簡單


11310495 (李仲鎧台中一中)


y=int(input())
a=y-1911
print(a)

#太簡單了吧