For test case 3 the right answer is 46 but in solution text file it was 42, so solution is failing for me.