import java.util.*; public class ppp { public static void main(String[] args) { Scanner sc=new Scanner(System.in); char c[]=sc.next().toCharArray(); int n=1; if(c.length==0){ System.out.println(1); return; } for(int i=0;i