// import java.util.*; class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int[] start = {1989, 1, 8}; int[] end = {2019, 4, 30}; int[] now = {sc.nextInt(), sc.nextInt(), sc.nextInt()}; boolean F = false; for (int i=0; i<3; i++) { if (start[i]