Invisible

아직 제출이 없습니다시간 제한12초메모리 제한512 MB

문제

This is an interactive problem.

You are given an array a_1,,a_na\_1, \ldots, a\_n of nn integers. You have to process queries of two types:

  • "1 xx yy": change value of a_xa\_x to yy.
  • "2 ll rr": find and print a number that occurs an odd number of times in the segment a_l,a_l+1,,a_ra\_l, a\_{l + 1}, \ldots, a\_r, or determine that there is no such number and print 1-1 instead. If there are several suitable numbers, you can output any of them.