import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNext()){ char[] c1=(sc.next()).toCharArray(); char[] c2=(sc.next()).toCharArray(); Arrays.sort(c1); Arrays.sort(c2); boolean flag=true; for(int i=0;i