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