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