#include <bits/stdc++.h>
using namespace std;
int a[1005];
int v[1005];
char c[2];
int main() {
  scanf("%s", c);
  scanf("%s", c);
  int m = 1;
  int sa = 1;
  int sb = 0;
  v[1] = 1;
  while (c[0] != '=') {
    if (c[0] == '+') {
      v[++m] = 1;
      sa++;
    } else {
      v[++m] = -1;
      sb++;
    }
    scanf("%s", c);
    scanf("%s", c);
  }
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= m; i++) a[i] = 1;
  int p = sa - sb;
  for (int i = 1; i <= m; i++) {
    while ((p < n) && (v[i] == 1) && (a[i] < n)) a[i]++, p++;
    while ((p > n) && (v[i] == -1) && (a[i] < n)) a[i]++, p--;
  }
  if (p != n) {
    printf("Impossible\n");
    return 0;
  }
  printf("Possible\n");
  printf("%d ", a[1]);
  for (int i = 2; i <= m; i++) {
    if (v[i] == 1)
      printf("+ ");
    else
      printf("- ");
    printf("%d ", a[i]);
  }
  printf("= %d\n", n);
}
