#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
double sqr(double a) { return a * a; }
const long long int inf = 100000000000000000LL;
struct Node {
  Node() { u = 0; }
  int v;
  int u;
  vector<int> nbr;
};
struct Point {
  int x, y;
  int used;
  Point() { used = 0; }
};
vector<long long int> get3(int a) {
  vector<long long int> b;
  while (a) {
    b.push_back(a % 3);
    a /= 3;
  }
  return b;
}
int main() {
  clock_t start = clock();
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout << fixed << setprecision(15);
  srand(13);
  string s;
  cin >> s;
  string a, b;
  int i = 0;
  while (i < s.length() && s[i] != '.') {
    a += s[i];
    ++i;
  }
  ++i;
  while (i < s.length()) {
    b += s[i];
    ++i;
  }
  if (a[a.length() - 1] == '9') {
    cout << "GOTO Vasilisa.";
  } else {
    if (b[0] >= '5') {
      for (int i = 0; i < a.length() - 1; ++i) {
        cout << a[i];
      }
      cout << (char)(a[a.length() - 1] + 1);
    } else
      cout << a;
  }
  return 0;
}
