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