main = readLn >>= print . (2017 -)