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