#include #include #include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { int N,i; cin>>N; vector P(N); for (i=0;i>P[i]; } LL X=P[0]; char S[100]; string S1; for (i=1;i9){ sprintf(S,"%lld",X); S1=S; int Y=0; for (int j=0;j