A string $S$, a prefix candidate $A$, and a suffix candidate $B$ are given (one per line). Print whether $S$ starts with $A$, then whether $S$ ends with $B$, as Python booleans True/False.
Input
Line 1: $S$. Line 2: $A$. Line 3: $B$. All lowercase.
Output
Print the two boolean results, one per line.
Example 1
Input
programming pro ing
Output
True True
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.