8 1 4 1 3 1 2 1 1 3 2 1 0 2
1 2 The $i$\-th line below shows the contents of $A$ after the $i$\-th query is processed in Sample Input $1$. * $(4)$ * $(4, 3)$ * $(4, 3, 2)$ * $(4, 3, 2, 1)$ * $(1, 2, 3, 4)$ * $(2, 3, 4)$ * $(2, 3, 4, 0)$ * $(3, 4, 0)$
9 1 5 1 5 1 3 2 3 2 1 6 3 2
5 3 5 The $i$\-th line below shows the contents of $A$ after the $i$\-th query is processed in Sample Input $2$. * $(5)$ * $(5, 5)$ * $(5, 5, 3)$ * $(5, 3)$ * $(3, 5)$ * $(5)$ * $(5, 6)$ * $(5, 6)$ * $(6)$
{
"problem": {
"name": "Sorting Queries",
"description": {
"content": "We have an empty sequence $A$. You will be given $Q$ queries, which should be processed in the order they are given. Each query is of one of the three kinds below: * `1 x` : Append $x$ to the end o",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc217_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We have an empty sequence $A$. You will be given $Q$ queries, which should be processed in the order they are given. Each query is of one of the three kinds below:\n\n* `1 x` : Append $x$ to the end o...",
"is_translate": false,
"language": "English"
}
]
}