from __future__ import absolute_import
from __future__ import division
from __future__ import print_function


class MaxPriorityQueue(object):
	"""Max Priority Queue."""
	def __init__(self):
		pass


def main():
	pass


if __name__ == '__main__':
	main()

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function


def parent(i):
    return i // 2

def left(i):
    return 2 * i

def right(i):
    return 2 * i + 1


class MaxPriorityQueue(object):
	"""Max Priority Queue."""
	def __init__(self):
		pass


def main():
	pass


if __name__ == '__main__':
	main()

Add parent(), left() & right()
Add parent(), left() & right()

  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
+ 
+ 
+ def parent(i):
+     return i // 2
+ 
+ def left(i):
+     return 2 * i
+ 
+ def right(i):
+     return 2 * i + 1
  
  
  class MaxPriorityQueue(object):
  	"""Max Priority Queue."""
  	def __init__(self):
  		pass
  
  
  def main():
  	pass
  
  
  if __name__ == '__main__':
  	main()
  
Add parent(), left() & right()
## Code Before:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function


class MaxPriorityQueue(object):
	"""Max Priority Queue."""
	def __init__(self):
		pass


def main():
	pass


if __name__ == '__main__':
	main()

## Instruction:
Add parent(), left() & right()
## Code After:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function


def parent(i):
    return i // 2

def left(i):
    return 2 * i

def right(i):
    return 2 * i + 1


class MaxPriorityQueue(object):
	"""Max Priority Queue."""
	def __init__(self):
		pass


def main():
	pass


if __name__ == '__main__':
	main()
