http://https://ide.geeksforgeeks.org/tryit.php/4bfe1a6d-4b39-47e0-9b1f-ae3648212b19