Above answer is right. Please mark above answer as USEFUL.
I am just adding screenshot for better Visualisations