Definition: You are given an unfinished English sentence, and you need to predict the rest of it.
Input: and since sitting and waiting was the only thing to do just then she sat and waited with all her might and main matthew
Output:
encountered the stationmaster locking up the ticket office preparatory to going home for supper and asked him if the five thirty train would soon be along