Solve problems 56,63 using Python.