Simon-Kucher Interview Question

Python Program