import java.util.Scanner; import java.util.Arrays; public class a{ public static void main(String[] args) { Scanner s = new Scanner(System.in); String a=s.next(); int t[]=new int[10]; Arrays.fill(t, 0); int n=0, m=0; for(int i=0; i0) n++; if(a.charAt(i)=='…') t[n]++; } for(int j=0; j<10; j++){ if(t[j]>m) m=t[j]; } System.out.println(m); } }