#include <stdio.h> countnum(char b) {
if(b>='A'&&b<='Z') return 1; if(b>='a'&&b<='z') return 0; return -1; } main() { char a[200]; int i,j,k; int dx=0,xx=0,fzm=0; scanf("%s",a); for (i=0;i<200;i++) { j=countnum(a[i]); if (j==1) dx++; else if (j==0) xx++; else if (j==-1) fzm++; } printf("dx=%d",dx); printf("xx=%d",xx); printf("fzm=%d",fzm); }