int
main ()
{
  double inputs[11], check = 400, result;
  int i;

  printf ();

  for (i = 0; i < 11; i++)
    {
      scanf (, &inputs[i]);
    }

  printf ();

  for (i = 10; i >= 0; i--)
    {
      result = sqrt (fabs (inputs[i])) + 5 * pow (inputs[i], 3);

      printf ();

      if (result > check)
        {
          printf ();
        }

      else
        {
          printf (, result);
        }
    }

  return 0;
}