{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"\u003cp\u003eWaheed has a rack of socks. Each sock has a size written on it. He loves his socks clean and in order. He gets frustrated if a sock with a smaller size appear after a sock with a larger size. \n\u003cbr\u003e\n\u003cbr\u003eKarim messed up Waheed\u0027s sock rack and ran away. Waheed is bad with numbers, can you help him rearrange his sock rack in such order of sock sizes which does not frustrate him?\u003cbr /\u003e\u003c/p\u003e"}},{"title":"Input","value":{"format":"MD","content":"\n\u003cp\u003e\nFirst line contains an integer \u003ci\u003en\u003c/i\u003e (1 ≤ \u003ci\u003en\u003c/i\u003e ≤ 10\u003csup\u003e6\u003c/sup\u003e), the size of the sock rack. \u003cbr/\u003e \nThe next line contains \u003ci\u003en\u003c/i\u003e integers, the sock size. (1 ≤ \u003ci\u003esock\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e ≤ 10\u003csup\u003e9\u003c/sup\u003e) . \n\u003c/p\u003e"}},{"title":"Output","value":{"format":"MD","content":"\n\u003cp\u003eOutput given numbers in the required order.\u003cbr /\u003e\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 \u003ctd\u003e\u003cpre\u003e6\n31 35 31 32 35 32\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e31 31 32 32 35 35\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}