Professor Wang arrived at the station at 8 o'clock in the morning to wait for the train. When he boarded the train, the hour and minute hands of the clock on the platform happened to be symmetrical. The train departs at 8:35 and arrives at the terminal at 2:15 pm. When Professor Wang got off the train, the hour and minute hands of the clock on the platform happened to be symmetrical up and down, and it was exactly 3 o'clock when he walked out of the station. So how many minutes did Professor Wang spend on the train?
王教授早上8点到达车站候车，登上列车时，站台上的时钟的时针和分针恰好左右对称．列车8点35分出发，下午2点15分到达终点站．当王教授走下列车时，站台上时钟的时针和分针恰好上下对称，走出车站时恰好3点整．那么王教授在列车上的时间共计多少分钟．
<result>360</result>