import java.util.Scanner; class Y203{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); String w1=sc.next(); String w2=sc.next(); int count=0; int ans=-2000000000; for(int i=0;i