#include <bits/stdc++.h>
int main(void) {
  char str[10] = "+ + + +";
  char* ptr;
  int N = 0;
  for (int i = 0; i < 4; i++) {
    ptr = strtok(str, " ");
    if (strcmp(ptr, "+") == 0) {
      N++;
    } else {
      N--;
    }
    printf("%s %d\n", ptr, N);
  }
  printf("%d\n", N);
}
