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