#include <bits/stdc++.h>
using namespace std;
int main() {
  string t, s;
  int x, y;
  cin >> t;
  y = t.find('.');
  s.assign(t, 0, y);
  x = s.length();
  if (s[x - 1] == '9') {
    cout << "GOTO Vasilisa.";
  } else {
    if (t[y + 1] - '0' <= 4) {
      cout << s;
    } else {
      x = s.length();
      s[x - 1] = s[x - 1] + 1;
      cout << s;
    };
  };
  return (0);
}
