337. Natural numbers from 1 to 1982 are arranged in some order. A computer scans pairs of adjacent numbers (the first and second, the second and third, etc.) from left to right up to the last pair and swaps the numbers in the scanned pair if the larger number is to the left. Then it scans all pairs from right to left from the last pair to the first, swapping the numbers in pairs by the same rule. At the end of this scan, the operator working with the computer received information that the number in the hundredth position did not move from its place during both scans. Find this number.
337. Answer: 100. Consider the number $a$-the largest of the first 99 numbers, and the number $b$-the smallest of the last 1882 numbers and ensure that $a<100<b$.