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