#!/bin/python3 import sys n = int(input().strip()) genes = input().strip().split(' ') health = list(map(int, input().strip().split(' '))) s = int(input().strip()) for a0 in range(s): first,last,d = input().strip().split(' ') first,last,d = [int(first),int(last),str(d)] print(0,end=" ") print(19)