#include using namespace std; int natural_gcd(int a,int b){ int m,M; if(a>b){ M=a; m=b; }else{ M=b; m=a; } int temp; while(m>0){ temp=m; m=M%m; M=temp; } return M; } int main(){ string S; cin>>S; vector count(10); vector f; for(int i=0;i