Solve first exercise