#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  if (b == 0) {
    return a;
  }
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return ((a * b) / gcd(a, b)); }
int main() {
  string s, n1;
  string s1;
  string a, b, c, d;
  a += '?';
  b += '+';
  c += '-';
  d += '=';
  while (cin >> s) {
    if (s == a || s == b || s == c) {
      s1 += s;
    } else if (s == d) {
      continue;
    } else {
      n1 = s;
    }
  }
  long long pos = 0, neg = 0;
  for (long long i = 0; i < s1.size(); i += 2) {
    if (i == 0) {
      pos += 1;
    } else if (s1[i - 1] == '+' && s1[i] == '?') {
      pos += 1;
    } else if (s1[i - 1] == '-' && s1[i] == '?') {
      neg += 1;
    }
  }
  long long n = 0, mul = 1;
  for (long long i = n1.size() - 1; i >= 0; i--) {
    n += ((n1[i] - '0') * mul);
    mul *= 10;
  }
  long long part = n / pos;
  long long diff = n - (part)*pos;
  diff += neg;
  vector<long long> v, v1;
  for (long long i = 0; i < pos; i++) {
    v.push_back(part);
  }
  long long count = 0;
  while (diff > 0) {
    if (count == pos) {
      count = 0;
    }
    v[count] += 1;
    diff--;
    if (v[count] > n) {
      cout << "Impossible" << endl;
      return 0;
    }
    count++;
  }
  diff = 0;
  for (long long i = 0; i < pos; i++) {
    if (v[i] == 0) {
      diff++;
      v[i] += 1;
    }
  }
  if (diff > 0 && neg == 0) {
    cout << "Impossible" << endl;
    return 0;
  }
  for (long long i = 0; i < neg; i++) {
    v1.push_back(1);
  }
  count = 0;
  while (diff > 0) {
    if (count == neg) {
      count = 0;
    }
    v1[count] += 1;
    diff--;
    if (v1[count] > n) {
      cout << "Impossible" << endl;
      return 0;
    }
    count++;
  }
  cout << "Possible" << endl;
  long long c1 = 0, c2 = 0;
  for (long long i = 0; i < s1.size(); i += 2) {
    if (i == 0) {
      cout << v[c1] << " ";
      c1++;
    } else if (s1[i - 1] == '+') {
      cout << "+"
           << " " << v[c1] << " ";
      c1++;
    } else if (s1[i - 1] == '-') {
      cout << "-"
           << " " << v1[c2] << " ";
      c2++;
    }
  }
  cout << "="
       << " " << n;
  return 0;
}
