Which UK prime ministers represented the Labour Party?  Please list them in chronological order in a bulleted list in the form {name} ({terms of office in years})
system
britain ke pradhan mantriyon ne lebar party kaa pratinidhitiv kiya?kripaya unhen kalanukramik kram main soochibaddh suchi main soochibaddh karen {naam} ({varshon main karyaalay kii sharten})
user
yahan euke ke sabhi shram pradhan mantriyon or karyaalay main unke varshon kii ek suchi di gai he:

• ramse mcdonald (1924, 1929-1935)
• klement atali (1945-1951)
• herold wilson (1964-1970, 1974-1976)
• james kellaghan (1976-1979)
• tony blair (1997-2007)
• gordon brown (2007-2010)
assistant
<|system|>
</s>
<|user|>
britain ke pradhan mantriyon ne lebar party kaa pratinidhitiv kiya?kripaya unhen kalanukramik kram main soochibaddh suchi main soochibaddh karen {naam} ({varshon main karyaalay kii sharten})</s>
<|assistant|>
yahan euke ke sabhi shram pradhan mantriyon or karyaalay main unke varshon kii ek suchi di gai he:

• ramse mcdonald (1924, 1929-1935)
• klement atali (1945-1951)
• herold wilson (1964-1970, 1974-1976)
• james kellaghan (1976-1979)
• tony blair (1997-2007)
• gordon brown (2007-2010)</s>
