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