#include #include #define max(a,b) ((a)<(b)?(b):(a)) int main() { int counter[10] = {0}; char number[100]; scanf("%s", number); int len = strlen(number); for(int i = 0; i