Test case 4 keeps failing, please check the code.
Hi @jaisalsinghani You code is printing output as 6 10 for input 6 but its output should be 8 10.