#include <stdio.h> #include <string.h> int num[26]={1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,4,1,2,3,1,2,3,4}; int cishu[26]={1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,8}; int main() { int k; char p[100]; while((scanf("%s",p))!=EOF){ k=0; for(int ...