{"raw_statement":[{"iden":"statement","content":"Your younger sibling needs help with their algebra homework, and it involves a full worksheet of detecting parallel lines in equations! Too inarticulate to explain how to find these parallel lines, you decide to create a piece of code that will solve the problems for them. \n\nYou will be given two lines of linear equations in $y = m x + b$ form. See the example input for the exact formatting. $m$ will always be written before the $x$ term, even if $m$ is equal to 1.\n\nIf the two linear equations are parallel, output \"PARALLEL\", otherwise output \"NOT PARALLEL\".\n\n"},{"iden":"input","content":"You will be given two lines of linear equations in $y = m x + b$ form. See the example input for the exact formatting. $m$ will always be written before the $x$ term, even if $m$ is equal to 1."},{"iden":"output","content":"If the two linear equations are parallel, output \"PARALLEL\", otherwise output \"NOT PARALLEL\"."},{"iden":"examples","content":"Inputy=17x+12\ny=2x+21\nOutputNOT PARALLEL\nInputy=-8x+3\ny=-8x+1\nOutputPARALLEL\n"}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ L_1: y = m_1 x + b_1 $ and $ L_2: y = m_2 x + b_2 $ be two linear equations in slope-intercept form.\n\n**Constraints**  \n- $ m_1, m_2, b_1, b_2 \\in \\mathbb{R} $  \n- $ m_1 $ and $ m_2 $ are explicitly given as coefficients of $ x $, possibly including implicit 1 (e.g., \"x\" means $ 1x $).\n\n**Objective**  \nDetermine if $ L_1 \\parallel L_2 $:  \n$$\n\\text{Output } \\begin{cases} \n\\text{\"PARALLEL\"} & \\text{if } m_1 = m_2 \\\\\n\\text{\"NOT PARALLEL\"} & \\text{otherwise}\n\\end{cases}\n$$","simple_statement":"Given two lines in the form y = mx + b, check if they are parallel. If yes, print \"PARALLEL\", otherwise print \"NOT PARALLEL\".","has_page_source":false}