Solve task32