#include #include #include #include #include using namespace std; typedef pair pii; int N; bool dp[10001][10001]; string ans = "impossible"; int main(void) { cin >> N; for (int i = 0; i < N; ++i) cin >> dp[0][i]; for (int i = 0; i < 10000; ++i) for (int j = 0; j < 10000; ++j) int i = 0; cout << ans << endl; return 0; }