https://www.geeksforgeeks.org/survival/