Solution for q26