Task: Text Matching
Input (English): Graham was Member of Parliament ( MP ) for Herefordshire from 1830 to 1832 , for Grantham from 1852 to 1857 , and for Dunbartonshire from 1858 to 1865 .
From 1830 to 1832 , he was a Member of the Parliament for Dunbartonshire , for Grantham from 1852 to 1857 , and for Herefordshire from 1858 to 1865 .
Output (English): Not paraphrase