{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"我们把只含有因子 2,3,5,7的数叫着丑数,1也是丑数。序列 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ... 展示了前20个丑数。\n\u003cbr\u003e\n\u003cbr\u003e请写代码输出第n个丑数。\n\u003cbr\u003e"}},{"title":"输入","value":{"format":"HTML","content":"输入中包含多组测试数据,每组数据只包含一个整数n(1 \u0026lt;\u003d n \u0026lt;\u003d 5842),当输入n\u003d0时表示输入结束。注意n\u003d0时不需要处理。"}},{"title":"输出","value":{"format":"HTML","content":"对于每组测试数据,输出一行结果,输出形式为\"The nth humble number is number.\",其中n表示第几个丑数,number为第n个丑数的值。例如“The 5th humble number is 5.”。请再注意一点,由于英文的语法,th可能不是th,而是st、nd或者rd。"}},{"title":"样例","value":{"format":"HTML","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\u003e1\n2\n3\n4\n11\n12\n13\n21\n22\n23\n100\n1000\n5842\n0\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eThe 1st humble number is 1.\nThe 2nd humble number is 2.\nThe 3rd humble number is 3.\nThe 4th humble number is 4.\nThe 11th humble number is 12.\nThe 12th humble number is 14.\nThe 13th humble number is 15.\nThe 21st humble number is 28.\nThe 22nd humble number is 30.\nThe 23rd humble number is 32.\nThe 100th humble number is 450.\nThe 1000th humble number is 385875.\nThe 5842nd humble number is 2000000000.\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}