Added soulution of sreeraj on 01/09/2013