import java.util.Scanner; public class No203 { public static void main(String[] args) { int renkyu = 0; int renkyuMax = 0; Scanner sc = new Scanner(System.in); for(int i = 0; i < 14; i++){ String c = sc.next(); if(c.equals("o")){ renkyu++; if(renkyu > renkyuMax){ renkyuMax = renkyu; } }else{ renkyu = 0; } } System.out.println(renkyuMax); } }