#9,#10

Task`s code