import java.util.*; public class Yukicoder_69{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); String A = stdIn.next(); String B = stdIn.next(); boolean[] judg = new boolean[A.length()]; Arrays.fill(judg,true); for(int i=0;i