Presenting images rated specific numbers in next routine/task

OS: MacBook Air
PsychoPy version : 1.85.2

I need to create a forced choice task using images that were previously rated for a specific number(s) by participants on a 5 point rating scale.

I’m not sure how to do that. Please help. Many thanks!

(Details about my experiment: in the first task participants are asked to rate 20 food images on a 1-5 scale, in the second task I want to present to them again all the images that were rated 3 in a random order. I can’t think of a way to achieve this.)