{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"PLAIN","content":"现在有一条路长1e100\n在坐标为a的倍数的坐标(0,a,2a...)上有红色的老八秘制小汉堡\n在坐标为b的倍数的坐标(0,b,2b...)上有蓝色的老八秘制小汉堡\n在同时是a,b倍数的坐标位置,你可以通过意志,把汉堡的颜色变成你想要的颜色\n如果一口气连续吃到k个颜色相同的老八秘制小汉堡,你就会中毒身亡\n"}},{"title":"Input","value":{"format":"PLAIN","content":"T组输入(T≤1000)\n每行三个数\na,b,k(1≤a,b,≤1e9,2≤k≤1e19)"}},{"title":"Output","value":{"format":"PLAIN","content":"活下来的话输出OBEY\n中毒身亡输出REBEL"}},{"title":"Example","value":{"format":"PLAIN","content":"输入:\n4\n3 7 2\n2 9 2\n5 2 3\n1 1 2\n\n输出:\nREBEL\nREBEL\nOBEY\nOBEY"}}]}