#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  string s;
  cin >> s;
  int pos = s.find('.');
  int int_last = s[pos - 1] - '0', f_first = s[pos + 1] - '0';
  if (int_last == 9)
    cout << "GOTO Vasilisa.\n";
  else if (f_first < 5)
    cout << s.substr(0, pos) << "\n";
  else
    cout << s.substr(0, pos - 1) << int_last + 1 << "\n";
  return 0;
}
