#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int i, j;
  char s[1000];
  while (gets(s)) {
    int l = strlen(s);
    n = 0;
    int num_jian = 0, num_jia = 1;
    for (i = 0; i < l; ++i) {
      if (s[i] == '=') {
        i += 2;
        while (i != l) {
          n *= 10;
          n += s[i] - '0';
          ++i;
        }
      } else if (s[i] == '-')
        num_jian++;
      else if (s[i] == '+')
        num_jia++;
    }
    int v_jian = 1;
    if (num_jian < num_jia) v_jian = n;
    if (num_jia * n - num_jian < n || num_jia - num_jian * n > n)
      printf("Impossible\n");
    else {
      printf("Possible\n");
      j = 0;
      for (i = 0; i < l; ++i) {
        if (s[i] == '?') {
          if (i == 0 || s[i - 2] == '+') {
            if (num_jia == 1)
              printf("%d", n + num_jian * v_jian);
            else
              printf("%d", (n + num_jian * v_jian) / num_jia);
            if ((n + num_jian * v_jian) / num_jia > 5) j = 1;
            n -= (n + num_jian * v_jian) / num_jia;
            num_jia--;
          } else if (s[i - 2] == '-')
            printf("%d", v_jian);
        } else
          printf("%c", s[i]);
      }
      printf("\n");
    }
  }
  return 0;
}
