#include #include #include using namespace std; int n; int c[50]; int main() { int i; scanf("%d", &n); for(i=0; i() ); long long pw = 1; for(i=0; i