Three lines of characters is given. Check if the second line is a prefix of the first line. Check if the third line is a suffix of the first line.
Three lines, each contains no more than 100 characters.
In the first line print true or false depending on whether second line is a prefix of the first one. In the second line print true or false depending on whether third line is a suffix of the first one.