#include <bits/stdc++.h>
using namespace std;
string s, tm, tm2, tm3;
bool comp(string s, string t) {
  for (int i = 0; i < s.length(); i++)
    if (s[i] > t[i])
      return true;
    else if (s[i] < t[i])
      return false;
  return true;
}
int main() {
  cin >> s;
  bool q = false;
  for (int i = 0; i < s.length(); i++) {
    if (s[i] != '.' && !q)
      tm += s[i];
    else
      q = true;
    if (q && s[i] != '.') tm2 += s[i];
  }
  if (tm[tm.length() - 1] != '9') {
    for (int i = 0; i < tm2.length(); i++)
      if (i == 0)
        tm3 += '5';
      else
        tm3 += '0';
    if (!comp(tm2, tm3))
      cout << tm;
    else {
      for (int i = 0; i < tm.length() - 1; i++) cout << tm[i];
      cout << (char)((int)tm[tm.length() - 1] + 1);
    }
  } else
    cout << "GOTO Vasilisa.";
}
