{"problem":{"name":"Sum of Three Integers","description":{"content":"You are given an integer sequence $A = (A_1, A_2, \\dots, A_N)$ and an integer $X$.   Print one triple of integers $(i, j, k)$ satisfying all of the following conditions. If no such triple exists, repo","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":3000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"arc185_c"},"statements":[{"statement_type":"Markdown","content":"You are given an integer sequence $A = (A_1, A_2, \\dots, A_N)$ and an integer $X$.  \nPrint one triple of integers $(i, j, k)$ satisfying all of the following conditions. If no such triple exists, report that fact.\n\n*   $1 \\leq i \\lt j \\lt k \\leq N$\n*   $A_i + A_j + A_k = X$\n\n## Constraints\n\n*   $3 \\leq N \\leq 10^6$\n*   $1 \\leq X \\leq 10^6$\n*   $1 \\leq A_i \\leq X$\n*   All input values are integers.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$ $X$\n$A_1$ $A_2$ $\\dots$ $A_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"arc185_c","tags":[],"sample_group":[["5 16\n1 8 5 10 13","1 3 4\n\nThe triple $(i, j, k) = (1, 3, 4)$ satisfies $1 \\leq i \\lt j \\lt k \\leq N$ and $A_i + A_j + A_k = 1 + 5 + 10 = 16 = X$."],["5 20\n1 8 5 10 13","\\-1"],["10 100000\n73766 47718 74148 49218 76721 31902 21994 18880 29598 98917","4 6 8"]],"created_at":"2026-03-03 11:01:13"}}