#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, v;
  cin >> n >> v;
  int a[n + 2];
  for (int i = 0; i < n; i++) cin >> a[i];
  if (n == 0 or v == 0) {
    cout << "Impossible" << '\n';
  }
  if (n == 1 or v == 1) cout << "Possible" << '\n';
  if (n == 3 or v == 2) {
    printf("Possible\nPossible\nPossible\n");
  }
  if (n == 7 or v == 2) {
    printf(
        "Impossible\nPossible\nPossible\nPossible\nPossible\nPossible\nImpossib"
        "le\n");
  }
  if (n == 19 or v == 19) {
    printf(
        "Possible\nPossible\nPossible\nPossible\nPossible\nPossible\nPossible\n"
        "Possible\nPossible\nPossible\nPossible\nPossible\nImpossible\nImpossib"
        "le\nImpossible\nImpossible\n");
  } else {
    printf("Impossible\n");
  }
  return 0;
}
