#include <bits/stdc++.h>
using namespace std;
int main() {
  char c;
  string s = "";
  int pos = 0;
  int neg = 0;
  cin >> c;
  pos++;
  while (c != '=') {
    cin >> c;
    if (c != ' ') {
      if (c == '+') {
        pos++;
        s.push_back('+');
      }
      if (c == '-') {
        neg++;
        s.push_back('-');
      }
    }
  }
  int n;
  cin >> n;
  if (n * pos - neg < n || -1 * n * neg + pos > n)
    cout << "Impossible\n";
  else {
    cout << "Possible\n";
    int val = 0;
    for (int i = 0; i < s.size() + 1; i++) {
      int k = 1;
      if (i > 0 && s[i - 1] == '-') {
        neg--;
        k = -1;
      } else
        pos--;
      for (int j = 1; j <= n; j++) {
        if (val + j * k + n * pos - neg >= n &&
            val + j * k + pos - n * neg <= n) {
          if (i == s.size())
            cout << j << " ";
          else
            cout << j << " " << s[i] << " ";
          val += j * k;
          break;
        }
      }
    }
    cout << "= " << n << endl;
  }
  return 0;
}
