@Satyam123 

Did you get chance to check the above solution?