import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String s = in.next(); int l = s.length(); int count = 0; char[] c = new char[3]; for(int i=0; i