#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fll;
int main() {
  int l = 0, r = 1e6;
  while (l < r) {
    int m = (l + r + 1) / 2;
    cout << m << '\n';
    fflush(stdout);
    string second;
    cin >> second;
    if (second == "<")
      r = m - 1;
    else
      l = m;
  }
  cout << "! " << l << '\n';
  exit(0);
}
