Japt -h
, 7 bytes
â £kX â
Explanation:
â £kX â
â // Get all unique items from the input
£ // Map X through the results
kX // Remove X from the input
â // Get unique items
-h // Return the last item