First homework, third exercise