{"problem":{"name":"Divisible","description":{"content":"You are given positive integers $N$ and $K$, and a sequence of length $N$, $A=(A_1,A_2,\\ldots,A_N)$. Extract all elements of $A$ that are multiples of $K$, divide them by $K$, and print the quotients.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc347_a"},"statements":[{"statement_type":"Markdown","content":"You are given positive integers $N$ and $K$, and a sequence of length $N$, $A=(A_1,A_2,\\ldots,A_N)$.\nExtract all elements of $A$ that are multiples of $K$, divide them by $K$, and print the quotients.\n\n## Constraints\n\n*   $1\\leq N,K\\leq 100$\n*   $1\\leq A_1 < A_2 < \\ldots < A_N \\leq 100$\n*   $A$ has at least one multiple of $K$.\n*   All given numbers are integers.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$ $K$\n$A_1$ $A_2$ $\\ldots$ $A_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc347_a","tags":[],"sample_group":[["5 2\n2 5 6 7 10","1 3 5\n\nThe multiples of $2$ among the elements in $A$ are $2$, $6$, and $10$. Divide them by $2$ to get $1$, $3$, and $5$, and print them in ascending order with spaces in between."],["3 1\n3 4 7","3 4 7"],["5 10\n50 51 54 60 65","5 6"]],"created_at":"2026-03-03 11:01:14"}}