{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cspan lang\u003d\"en-us\"\u003e\u003cp\u003eThe galaxy war between the Empire Draco and the Commonwealth of Zibu broke out 3 years ago. Draco established a line of defense called Grot. Grot is a straight line with \u003ci\u003e N\u003c/i\u003e defense stations. Because of the cooperation of the stations, Zibu’s Marine Glory cannot march any further but stay outside the line.\u003c/p\u003e\u003cp\u003eA mystery Information Group X benefits form selling information to both sides of the war. Today you the administrator of Zibu’s Intelligence Department got a piece of information about Grot’s defense stations’ arrangement from Information Group X. Your task is to determine whether the information is reliable.\u003c/p\u003e\u003cp\u003eThe information consists of \u003ci\u003e M\u003c/i\u003e tips. Each tip is either precise or vague.\u003c/p\u003e\u003cp\u003ePrecise tip is in the form of \u003ccode\u003eP A B X\u003c/code\u003e, means defense station \u003ci\u003e A\u003c/i\u003e is \u003ci\u003eX\u003c/i\u003e light-years north of defense station \u003ci\u003eB\u003c/i\u003e.\u003c/p\u003e\u003cp\u003eVague tip is in the form of \u003ccode\u003e V A B\u003c/code\u003e, means defense station \u003ci\u003eA\u003c/i\u003e is in the north of defense station \u003ci\u003eB\u003c/i\u003e, at least 1 light-year, but the precise distance is unknown.\u003c/p\u003e\u003c/span\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cspan lang\u003d\"en-us\"\u003e\u003cp\u003eThere are several test cases in the input. Each test case starts with two integers \u003ci\u003eN\u003c/i\u003e (0 \u0026lt; \u003ci\u003eN\u003c/i\u003e ≤ 1000) and \u003ci\u003eM\u003c/i\u003e (1 ≤ \u003ci\u003eM\u003c/i\u003e ≤ 100000).The next \u003ci\u003eM\u003c/i\u003e line each describe a tip, either in precise form or vague form.\u003c/p\u003e\u003c/span\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cspan lang\u003d\"en-us\"\u003e\u003cp\u003eOutput one line for each test case in the input. Output “Reliable” if It is possible to arrange \u003ci\u003eN\u003c/i\u003e defense stations satisfying all the \u003ci\u003eM\u003c/i\u003e tips, otherwise output “Unreliable”.\u003c/p\u003e\u003c/span\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3 4\r\nP 1 2 1\r\nP 2 3 1\r\nV 1 3\r\nP 1 3 1\r\n5 5\r\nV 1 2\r\nV 2 3\r\nV 3 4\r\nV 4 5\r\nV 3 5\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eUnreliable\r\nReliable\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}