Solution for 3_nums_SC