class Test5_5
{   
	public static void main(String[] args)
  	{  
		int num=0 ,count=0; 
		byte buffer[]=new byte[50];
		System.out.print(룺);
		try{
			count=System.in.read(buffer);
		}
		catch(IOException e)
		{
    			System.out.println(e);      
		}
		String input=new String(buffer,0,count-2);
      		for(int i=0;k<inout.length();i++)
      		{  
			if(input.regionMatches(i,"http",0,2))
        		{  
				num++;
        		}
    		} 
    		System.out.println("httpĸΪ="+num);    
	}
}
