import java.util.Scanner; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); String str1 = sc.nextLine(); String str2 = sc.nextLine(); int start = Integer.parseInt(str1.substring(0, 4)); int end = Integer.parseI...