package yukicoder; import java.util.Scanner; public class Main{ public static void main(String[] args)throws Exception{ new Main().solve(); } void solve(){ Scanner sc=new Scanner(System.in); String s1=sc.next(); String s2=sc.next(); char[] c1=s1.toCharArray(); char[] c2=s2.toCharArray(); if(c1.length>c2.length){ System.out.println(s1); }else if(c1.lengthc2[i]){ System.out.println(s1); }else if(c1[i]