#include <bits/stdc++.h>
using namespace std;
int main() {
  string second;
  cin >> second;
  int pos = second.find(".");
  if (second[pos - 1] == '9')
    printf("GOTO Vasilisa.\n");
  else {
    if (second[pos + 1] >= '5') {
      string St = second.substr(0, pos);
      St[St.size() - 1]++;
      cout << St << endl;
    } else
      cout << second.substr(0, pos) << endl;
  }
  return 0;
}
