Please rectify the code to get correct output

hey @samadsid7, just need to modified the basecases. No need to check whether i is perfectly divisible by those 3 number.
Here is your updated code