Siddharth Bora's submission of The D Problem | CodeChef