import java.util.Scanner; public class pre { public static void main(String[] args) { Scanner s = new Scanner(System.in); String math = s.next(); int ans = Integer.parseInt(String.valueOf(math.charAt(0))); for(int i=1;i