{"raw_statement":[{"iden":"statement","content":"A frog lives in a one-dimensional world in the point with the coordinate 0. He needs to get to the point with the coordinate x. For some reason he cannot make jumps of arbitrary length, and can jump only by a1, ..., an in any direction. Is he able to reach x?\n\nThe first line contains two integers n and x separated by a space (1 ≤ n ≤ 200000,  - 109 ≤ x ≤ 109) — the number of variants of jump length and the coordinate of the point to reach.\n\nThe second line contains n integers ai separated by spaces (1 ≤ ai ≤ 109) — the lengths of jumps the frog can make.\n\nOutput «_YES_» (without quotes), if the frog can reach the point x, otherwise output «_NO_» (without quotes).\n\n"},{"iden":"input","content":"The first line contains two integers n and x separated by a space (1 ≤ n ≤ 200000,  - 109 ≤ x ≤ 109) — the number of variants of jump length and the coordinate of the point to reach.The second line contains n integers ai separated by spaces (1 ≤ ai ≤ 109) — the lengths of jumps the frog can make."},{"iden":"output","content":"Output «_YES_» (without quotes), if the frog can reach the point x, otherwise output «_NO_» (without quotes)."},{"iden":"examples","content":"Input3 173 5 4OutputYESInput4 510 20 30 40OutputNO"}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ n \\in \\mathbb{Z} $ be the number of passwords.  \nFor each $ i \\in \\{1, \\dots, n\\} $, let $ P_i $ be a string of length $ \\ell_i $, where $ 9 \\leq \\ell_i \\leq 100 $, consisting of characters from the union of:  \n- Uppercase letters $ \\mathcal{U} = \\{A, B, \\dots, Z\\} $,  \n- Lowercase letters $ \\mathcal{L} = \\{a, b, \\dots, z\\} $,  \n- Digits $ \\mathcal{D} = \\{0, 1, \\dots, 9\\} $,  \n- Symbols $ \\mathcal{S} = \\text{all other printable ASCII characters excluding letters and digits} $.\n\nLet $ c_i = P_i[\\ell_i - 1] $ denote the last character of password $ P_i $.\n\n**Constraints**  \n1. $ 1 \\leq n \\leq 100 $  \n2. For each $ i $, $ 9 \\leq |P_i| \\leq 100 $\n\n**Objective**  \nDetermine the universal constraint on the last character across all passwords:  \n- If $ \\forall i, c_i \\in \\mathcal{L} \\cup \\mathcal{U} $, output \"The last character must be a letter.\"  \n- If $ \\forall i, c_i \\in \\mathcal{D} $, output \"The last character must be a digit.\"  \n- If $ \\forall i, c_i \\in \\mathcal{S} $, output \"The last character must be a symbol.\"  \n- Otherwise, output \"The last character can be any type.\"","simple_statement":"Check the last character of each password:  \n- If it must be a letter, print: \"The last character must be a letter.\"  \n- If it must be a digit, print: \"The last character must be a digit.\"  \n- If it must be a symbol, print: \"The last character must be a symbol.\"  \n- If it can be anything, print: \"The last character can be any type.\"","has_page_source":false}