#include using namespace std; string N; int main(){ cin>>N; for (int i=0;i