How to get unique values using Talend?

 Requirement: We have a data set as shown  below.

Input:



 Output:


Solution: