#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> A, B, C, D, E, V, V2, ANS;
  vector<string> gh;
  vector<char> ch;
  vector<char>::iterator ic;
  vector<int>::iterator it;
  vector<string>::iterator str;
  int a, b, maxv = -60, c, d, e, g, h, l, n, y = 0, u = 0, minv = 100000, i;
  char t[10001], m[10001], s[10001];
  gets(t);
  a = strlen(t);
  for (i = 0; i < a; i++) {
    if (t[i] != '.') {
      m[y] = t[i];
      y++;
    }
    if (t[i] == '.') {
      l = i;
      break;
    }
  }
  if (m[y - 1] == '9') {
    cout << "GOTO Vasilisa." << endl;
    return 0;
  }
  if (t[l + 1] >= '5') {
    b = m[y - 1] - 48;
    b += 1;
    m[y - 1] = b + 48;
    cout << m << endl;
    return 0;
  }
  if (t[l + 1] < '5') {
    cout << m << endl;
    return 0;
  }
  return 0;
}
