There are 50 students from Guangming Primary School going to Beihai for a spring outing. They plan to go to 9 scenic spots. If the number of people visiting each scenic spot is 41 to 49, and the number of people visiting each scenic spot is different, how many students can there be at most9 Been to all attractions.
光明小学有50名同学到北海春游，他们计划去9个景点，若游各景点的人数分别是41人至49人，且到每一景点的人数各不相同，那么学生中最多有多少人9个景点都到过．
<gadget id="calculator">50 - 41</gadget>
<output>9</output>

<gadget id="calculator">50 - 42</gadget>
<output>8</output>

<gadget id="calculator">50 - 43</gadget>
<output>7</output>

<gadget id="calculator">50 - 44</gadget>
<output>6</output>

<gadget id="calculator">50 - 45</gadget>
<output>5</output>

<gadget id="calculator">50 - 46</gadget>
<output>4</output>

<gadget id="calculator">50 - 47</gadget>
<output>3</output>

<gadget id="calculator">50 - 48</gadget>
<output>2</output>

<gadget id="calculator">50 - 49</gadget>
<output>1</output>

<gadget id="calculator">9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1</gadget>
<output>45</output>

<result>5</result>