#include using namespace std; int p(char a) { return a-'0'; } int main() { string a; cin >>a; int i=0; int x; while (i