1. An apparatus comprising at least one processor which executes a program stored in a memory, and which performs steps comprising: extracting an image group including a plurality of images into a first image group with user satisfaction higher than a set reference and a second image group with user satisfaction lower than the set reference; and extracting an image having at least one dissatisfaction factor from the second image group on the basis of a dissatisfaction factor selected as acceptable to a user and adding the extracted image to the first image group, in a case where the number of images included in the first image group does not reach a specified number, until the number of images included in the first image group reaches the specified number.