E. Hexagonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAyrat is looking for the perfect code. He decided to start his search from an infinite field tiled by hexagons. For convenience the coordinate system is introduced, take a look at the picture to see how the coordinates of hexagon are defined:   Ayrat is searching through the field. He started at point (0, 0) and is moving along the spiral (see second picture). Sometimes he forgets where he is now. Help Ayrat determine his location after n moves.InputThe only line of the input contains integer n (0 ≤ n ≤ 1018) — the number of Ayrat's moves.OutputPrint two integers x and y — current coordinates of Ayrat coordinates.ExamplesInput3Output-2 0Input7Output3 2
Input3
Output-2 0
['binary search', 'implementation', 'math', '*2100']