#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  getline(cin, s);
  for (int i = 0; i <= s.length() - 1; i++) {
    if (s[i] == '.' && s[i - 1] == '9') {
      cout << "GOTO Vasilisa.";
      return 0;
    }
    if (s[i] == '.' && s[i + 1] < '5') {
      for (int j = 0; j <= i - 1; j++) cout << s[j];
    }
    if (s[i] == '.' && s[i + 1] >= '5') {
      for (int j = 0; j <= i - 2; j++) cout << s[j];
      cout << char(s[i - 1] + 1);
    }
  }
  fclose(stdin);
  fclose(stdout);
  return 0;
}
