#!/bin/python import sys n = int(raw_input().strip()) genes = raw_input().strip().split(' ') health = map(int, raw_input().strip().split(' ')) s = int(raw_input().strip()) for a0 in xrange(s): first,last,d = raw_input().strip().split(' ') first,last,d = [int(first),int(last),str(d)] # your code goes here print 0,0