{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"Consider N floating point numbers N representing the radii of N disks. We fix a disk in the xOy system, if we position it at a positive coordinate x (big enough), tangential to the 0x axis and above it and after that we push it to 0y until it becomes tangent to 0y or to the first disk that it meets on the way. In the configuration that results by fixing in order all the given disks, some of them can be considered as being dispensible, because, if we eliminate them, the total width of the configuration is the same, which means that there is no disk that can be moved to the left.\r\u003cbr\u003e\u003ccenter\u003e\u003cimg src\u003d\"CDN_BASE_URL/8ee28e92092e03e4e75221b0a207c23c?v\u003d1723643662\"\u003e\u003c/center\u003e\r\u003cbr\u003eIdentify all the indispensible disks for a given configuration (in the configuration from above; the gray disks are dispensible)."}},{"title":"Input","value":{"format":"HTML","content":"The input has the following structure:\r\u003cbr\u003e\u003cul\u003e\u003cli\u003ethe first line contains N ( N \u0026lt;\u003d 1000), the number of disks;\r\u003cbr\u003e\u003c/li\u003e\u003cli\u003ethe next N lines contain N real numbers representing the radii of the disks, in the order they are fixed in the configuration.\u003c/li\u003e\u003c/ul\u003e\r\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"The output will have the following structure: \r\u003cbr\u003e\u003cul\u003e\u003cli\u003ethe first line will contain an integer K, representing the number of dispensable disks; \r\u003cbr\u003e\u003c/li\u003e\u003cli\u003eeach of the next K lines will contain the order number of the dispensable disks. \u003c/li\u003e\u003c/ul\u003e"}},{"title":"Sample","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\u003e7\r\n4\r\n0.1\r\n0.5\r\n3\r\n0.5\r\n4\r\n1 \u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e3\r\n2\r\n3\r\n5\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}