Solve task50