Problem 22, Python
Problem 23, Python