#include using namespace std; int main(){ int n,c=0; cin >> n; while(n>=10&&c<=100){ c++; string s=to_string(n); n=0; for(int i=0;i