import java.util.Scanner; class main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int count = 0; int max = 0; String str = scan.next(); System.out.println(str); for(int i = 0; i < str.length(); i++){ char ch = str.charAt(i); if(ch == '…'){ count++; } else{ max = Math.max(count, max); count = 0; } } max = Math.max(count, max); System.out.println(max); } }