#include <bits/stdc++.h>
using namespace std;
string s1 = "", s2 = "";
int main() {
  bool ok = true;
  char c;
  while (cin >> c) {
    if (c == '.') {
      ok = false;
      continue;
    }
    if (ok)
      s1 += c;
    else
      s2 += c;
  }
  if (s1[int((s1).size()) - 1] != '9') {
    if (s2[0] < '5')
      cout << s1 << endl;
    else {
      s1[int((s1).size()) - 1]++;
      cout << s1 << endl;
    }
  } else {
    cout << "GOTO Vasilisa." << endl;
  }
  return 0;
}
