Easy and Medium problems, lesson 2.