#29888: python新手解答(一行解)


422596@st.tc.edu.tw (殤)


print(int(input())-1911)