{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"\u003cp\u003eSara owns a big cinema and a lot of people visit it everyday to watch their favourite movies.\u003cbr \u003e\u003cbr\u003e\nToday $n$ people came to watch a new movie which was recently released. \u003cbr\u003e\u003cbr\u003e\nEvery person has his own height $h$ and they all wish to see the movie but the person gets upset when someone sits before him whose height is greater than him.\u003cbr\u003e\u003cbr\u003e\nSara doesn\u0027t want anyone to become upset, Can you help him find an order of the people such that no one gets upset.\n\u003c/p\u003e\n\n\u003ch3\u003eInput\u003c/h3\u003e\n\u003cp\u003ethe first line contains an integer $n$ $(1 \\le n \\le 10^6)$ -- the number of people in the cinema. \u003cbr\u003e\nthen $n$ lines follow:\u003cbr /\u003e\nEach line contains an integer $h$ $(1 \\le h \\le 10^6)$ -- the height of the person.\n\n\u003c/p\u003e\u003ch3\u003eOutput\u003c/h3\u003e\n\u003cp\u003eOutput the order of the people such that no one gets upset.\u003c/p\u003e"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n\n\u003ctd\u003e\u003cpre\u003e\n5\n4 2 5 6 2\n\u003c/pre\u003e\u003c/td\u003e\n\n\u003ctd\u003e\u003cpre\u003e\n2 2 4 5 6\n\u003c/pre\u003e\u003c/td\u003e\n\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}