I have a group of 30 participants which are independent to each other. All of them completed a questionnaire of 10 questions (10 different topics). In each question, they were asked to rank their preferences towards 3 different items, with 1 being the most preferred, 3 being the least preferred. An example of the completed questionnaire looks like this (and I have 30 of these from 30 participants):
I intend to see which item is ranked the highest and the least for each of the topic. How can I compute these in SPSS and what test should I perform?

I intend to see which item is ranked the highest and the least for each of the topic. How can I compute these in SPSS and what test should I perform?