#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  size_t n = s.find('.');
  if (s[n - 1] == '9') {
    cout << "GOTO Vasilisa." << endl;
  } else {
    if (s[n + 1] >= '5') {
      s[n - 1] += 1;
    }
    int n = 0;
    while (s[n] != '.') {
      cout << s[n];
      n++;
    }
  }
  return 0;
}
