P14041 [HackerEarth] Our web developer Gori is having this huge crush on a girl of his batch. But he is very afraid of proposing her. He does not know whether to do it or not. He told this to his best friend
普及-
题目描述

Our web developer Gori is having this huge crush on a girl of his batch. But he is very afraid of proposing her. He does not know whether to do it or not. He told this to his best friend Micro, who is an astrologer. Micro came up with an idea to help Gori. He is having a list of N fortune numbers. He asked Gori two numbers , say a & b (a ≤ b). He also asked two numbers from Gori's crush, say c & d (c ≤ d) (The numbers a, b, c & d do not necessarily belong to the list). Then he made two lists from fortune numbers. One having fortune numbers which lie between a & b (inclusive) and one having fortune numbers which lie between c & d (inclusive). Then he counted the number of same elements in the two lists and called it the Matching factor, say m. Micro has a special number say k, now if m ≥ k, then Gori should propose his crush, otherwise not.
But Gori was not satisified with just one result. So they followed above procedure several times for different values of a, b , c & d and Micro also kept updating the list of fortune numbers. This became a hectic task. So they asked you to make a program for it.

Input:
The first line consists of three space separated integers N, Q and k.
Second line consists of N space separated integers, the initial list of fortune numbers.
The following Q lines contain Q queries. There are two types of queries:
i) 0 x y, replace xth element in the list by y.
ii) 1 a b c d, print answer for given value of a, b, c, d

Output:
For each query of type 1, print "Propose" (without quotes) in a new line if for given a, b, c & d value of matching factor, m ≥ k, otherwise print "Do not propose" (without quotes) in a new line.

Constraints:
1 ≤ N, Q, k ≤ 10^5
1 ≤ Fortune Numbers ≤ 10^9
1 ≤ x ≤ N
1 ≤ a, b, c, d, y ≤ 10^9

SAMPLE INPUT
5 3 3
1 2 3 4 5
1 2 3 3 7
0 5 6
1 1 6 3 7SAMPLE OUTPUT
Do not propose
ProposeExplanation

For first query the lists are (2,3) and (3,4,5). Common element is 3 only. So matching factor = 1 which is less than given k.
So answer is Do not propose.
Second query updates list to 1 2 3 4 6.
For third query the lists are (1,2,3,4,6) and (3,4,6). Common elements are 3, 4 & 6. So matching factor = 3 which is equal to given k. So answer is Propose.

输入格式

见题面

输出格式

见题面

样例输入
23 20 9 223738279 539671800 124731817 139910735 949055198 324630707 979797292 28731325 247211539 333911952 524957210 605436101 834467572 920256123 489337155 728409002 654383792 768733528 224968584 239992947 401703222 593201498 771958448 1 616992195 997567160 363158808 570716854 1 211448443 996089386 34592765 669308471 0 22 138838672 0 22 118635964 0 7 305064267 1 39531839 494345310 544962247 900306179 1 44485577 564720232 478882506 678145613 0 23 126170587 1 21148657 985963962 799459415 805737614 1 111888426 776137853 1261130 954740478 0 4 265244320 0 11 821412547 0 1 201565758 1 384491333 576284666 1339650 813770822 1 10755675 41134091 484725767 833083025 1 17661484 642752489 88441915 359010319 0 1 613564336 1 456153729 858025889 42081444 565069682 1 784808328 989159543 388190890 707131219 1 19270667 720645501 597352987 939638520
样例输出
Do not propose Propose Do not propose Do not propose Do not propose Propose Do not propose Do not propose Propose Do not propose Do not propose Do not propose