When a minibus departs from the starting station, there are 36 passengers on board, 5 people get on the bus at the first stop and 3 people get off; 3 people get on the bus at the second stop and 5 people get off at the third stop; 6 people get off the bus, 2 people get off; 6 people get on the bus after the fourth stop, no one gets off the bus; 6 people get off the bus after the fifth stop, no one gets on the bus; car, may I ask how many people get off this minibus at the terminal (the driver is not counted as passengers)? (Please use positive and negative numbers to calculate, do you have a skill algorithm? Use your brain to show your ability)
一辆中巴车从起始站出发时车上有乘客36人，经过第一站上车5人下车3人，；经过第二站上车3人下车5人；经过第三站上车6人，下车2人；经过第四站上车6人，无人下车、经过第五站下车6人，无人上车；经过第六站上、下车都是5人下车，请问这辆中巴车到终点站下车共有多少人(司机不算只算乘客)？(请用正负数计算，有技巧算法吗？开动脑筋显示你的能力)
<gadget id="calculator">36 + 5 + (-3) + 3 + (-5) + 6 + (-2) + 6 + (-6) + 5 + (-5)</gadget>
<output>40</output>

<result>40</result>