To solve this problem your program should perform the following steps

Showing the single result

Showing the single result