Pattern Solving In Python What Is The Input