#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cout.tie(0);
  cin.tie(0);
  string a, b;
  cin >> a;
  int c = a.size();
  bool d = 1;
  for (int i = 0; i < c; i++) {
    if (a[i] == '0' && d) {
      if (a[i + 1] == '.') b = '0';
    } else if (a[i] == '9' && a[i + 1] == '.') {
      cout << "GOTO Vasilisa.";
      return 0;
    } else if (a[i] != '.') {
      b += a[i];
      d = 0;
    } else {
      b[i - 1] += a[i + 1] > '4';
      cout << b;
      return 0;
    }
  }
}
