import java.util.*; public class Test12 { public static void main(String[] args){ Scanner sc=new Scanner(System.in); String[] line; String regex=" ",plain=""; line=sc.nextLine().split(regex); int n=line[0].length(); int[] chip_=new int[n]; int tmp=25; for(int i=0;i