import java.util.Scanner; public class Age { public static void main(String[] args) { @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); final int birth = sc.nextInt(); final int now = 2017; final int age = now - birth; System.out.println(age); } }