Take the given sentence and detect out all the proper nouns
Input: John, Paul and George went by train to London
John, Paul, George
John, Paul and George: proper nouns. train: proper noun. London: proper noun.