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