#include #include #include using namespace std; int main(void) { bool first=true; int n; while ((cin >> n) && (n!=0)) { first=true; int* array1 = new int[n]; int* pom = new int[n]; int* array2 = new int[n]; for (int i=0; i> array1[i]; } for (int i=0; i> array2[i]; } for (int i = n; i>0; i--) { for (int j = 0; j