output_description: Print A and B, with space in between. If there are multiple pairs of integers
  (A, B) satisfying the condition, you may print any of them.
  
      
      
      A B
      
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      X
attempt: x = int(input())
  a = int(x**0.2)
  a2 = a + 1
  b = int((x - a**5) ** 0.2)
  b2 = b
  if (x - a2**5) > 0:
      b2 = x - a2**5
  b2 = int(b2**0.2)
  y = a**5 - b**5
  if y == x:
      print(a, b)
  elif a2**5 - b2**5 == x:
      print(a2, b2)
  elif a**5 + b**5 == x:
      print(a, -b)
  elif a2**5 + b2**5 == x:
      print(a2, b2)
  
problem_description: Statement
  
  Give a pair of integers (A, B) such that A^5-B^5 = X. It is guaranteed that
  there exists such a pair for the given integer X.
samples: [{"input": "33", "output": "2 -1\n    \n\nFor A=2 and B=-1, A^5-B^5 = 33.\n\n* * *"}, {"input": "1", "output": "0 -1"}]