#include <bits/stdc++.h>
using namespace std;
const int N = 110;
bool ls(string s1, string s2) {
  for (int i = 0; i < s1.size(); i++)
    if (s1[i] < s2[i])
      return 1;
    else if (s1[i] > s2[i])
      return 0;
  return 0;
}
int main() {
  string s, t, tmp;
  cin >> s;
  int pos = s.find('.');
  for (int i = pos + 1; i < s.size(); i++) tmp += s[i];
  t = "5";
  for (int i = 0; i < tmp.size() - 1; i++) t += '0';
  if (ls(tmp, t) && s[pos - 1] != '9')
    for (int i = 0; i < pos; i++) cout << s[i];
  else if (!ls(tmp, t) && s[pos - 1] != '9') {
    for (int i = 0; i < pos - 1; i++) cout << s[i];
    cout << char(s[pos - 1] + 1);
  } else
    cout << "GOTO Vasilisa.";
  return 0;
}
