#include <bits/stdc++.h>
using namespace std;
int main() {
  string x, y;
  cin >> x;
  int b;
  int a = x.find('.');
  y = x.substr(0, a);
  if (x[a - 1] == '9') {
    cout << "GOTO Vasilisa.";
  } else {
    if (x[a + 1] >= '0' and x[a + 1] < '5') {
      cout << y;
    } else {
      y[a - 1] += 1;
      cout << y;
    }
  }
}
