Ayushman Mathur's submission of Factor Tree | CodeChef