Solved problem21 in python3