#include <bits/stdc++.h>
using namespace std;
const char result[4] = {'+', '-', '0', '?'};
int solve(int x, int y) { return x == y ? 2 : x < y; }
int main() {
  int x, y, z;
  cin >> x >> y >> z;
  cout << result[solve(x + z, y) == solve(x, y + z) ? solve(x, y) : 3];
  return 0;
}
