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