import std.stdio, std.conv, std.string; void main(){ int age = 2017 - readln.chomp.to!(int); writeln(age); }