{"problem":{"name":"Shift","description":{"content":"You are given a sequence $A = (A_1, A_2, \\dots, A_N)$ of length $N$.   You perform the following operation exactly $K$ times: *   remove the initial element of $A$ and append a $0$ to the tail of $A$","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc278_a"},"statements":[{"statement_type":"Markdown","content":"You are given a sequence $A = (A_1, A_2, \\dots, A_N)$ of length $N$.  \nYou perform the following operation exactly $K$ times:\n\n*   remove the initial element of $A$ and append a $0$ to the tail of $A$.\n\nPrint all the elements of $A$ after the operations.\n\n## Constraints\n\n*   $1 \\leq N \\leq 100$\n*   $1 \\leq K \\leq 100$\n*   $1 \\leq A_i \\leq 100$\n*   All values in the input 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$ $\\dots$ $A_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc278_a","tags":[],"sample_group":[["3 2\n2 7 8","8 0 0\n\nBefore the operations, $A = (2, 7, 8)$.  \nAfter performing the operation once, $A = (7, 8, 0)$.  \nAfter performing the operation twice, $A = (8, 0, 0)$.  \nThus, $(8, 0, 0)$ is the answer."],["3 4\n9 9 9","0 0 0"],["9 5\n1 2 3 4 5 6 7 8 9","6 7 8 9 0 0 0 0 0"]],"created_at":"2026-03-03 11:01:13"}}