package yukicoder; import java.util.Scanner; public class Yuki138 { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str1 = scan.next(); String str2 = scan.next(); scan.close(); System.out.println(judgeNumbers(str1, str2)); } private static String judgeNumbers(String str1,String str2) { //String com_numbers1 = ""; //String com_numbers2 = ""; String[] str1arr = str1.split("\\."); String[] str2arr = str2.split("\\."); for(int i = 0; i < str1arr.length; i++){ if(Integer.parseInt(str1arr[i])Integer.parseInt(str2arr[i])){ break; } } /* for(int i = 0; i < str1arr.length; i++){ com_numbers1 += str1arr[i]; } for(int i = 0; i < str2arr.length; i++){ com_numbers2 += str2arr[i]; } if(Integer.parseInt(com_numbers1)