#include #include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ string n; cin >> n; int tmp = 0; int a = n[0]-'0'; bool f = true; bool f2 = true; bool f3 = true; bool f4 = true; vector cnt(10, 0); vector cnt2(10, 0); for(int i=0; i