Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
List of Stanley Cup champions
Table title:
Active teams
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Team </th><th colspan=1 rowspan=1 > Wins </th><th colspan=1 rowspan=1 > Losses </th><th colspan=1 rowspan=1 > Win % </th><th colspan=1 rowspan=1 > Years of appearance (in Stanley Cup Finals) </th></tr>
<tr> <td colspan=1 rowspan=1 > 34 </td><td class="highlighted"  colspan=1 rowspan=1 > Montreal Canadiens </td><td class="highlighted"  colspan=1 rowspan=1 > 24 </td><td colspan=1 rowspan=1 > 9 </td><td colspan=1 rowspan=1 > .727 </td><td colspan=1 rowspan=1 > 1916, 1917, 1919, 1924, 1925, 1930, 1931, 1944, 1946, 1947, 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1965, 1966, 1967, 1968, 1969, 1971, 1973, 1976, 1977, 1978, 1979, 1986, 1989, 1993 </td></tr>
<tr> <td colspan=1 rowspan=1 > 24 </td><td colspan=1 rowspan=1 > Detroit Red Wings </td><td colspan=1 rowspan=1 > 11 </td><td colspan=1 rowspan=1 > 13 </td><td colspan=1 rowspan=1 > .458 </td><td colspan=1 rowspan=1 > 1934, 1936, 1937, 1941, 1942, 1943, 1945, 1948, 1949, 1950, 1952, 1954, 1955, 1956, 1961, 1963, 1964, 1966, 1995, 1997, 1998, 2002, 2008, 2009 </td></tr>
<tr> <td colspan=1 rowspan=1 > 21 </td><td class="highlighted"  colspan=1 rowspan=1 > Toronto Maple Leafs </td><td class="highlighted"  colspan=1 rowspan=1 > 13 </td><td colspan=1 rowspan=1 > 8 </td><td colspan=1 rowspan=1 > .619 </td><td colspan=1 rowspan=1 > 1918, 1922, 1932, 1933, 1935, 1936, 1938, 1939, 1940, 1942, 1945, 1947, 1948, 1949, 1951, 1959, 1960, 1962, 1963, 1964, 1967 </td></tr>
<tr> <td colspan=1 rowspan=1 > 19 </td><td colspan=1 rowspan=1 > Boston Bruins </td><td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > 13 </td><td colspan=1 rowspan=1 > .316 </td><td colspan=1 rowspan=1 > 1927, 1929, 1930, 1939, 1941, 1943, 1946, 1953, 1957, 1958, 1970, 1972, 1974, 1977, 1978, 1988, 1990, 2011, 2013 </td></tr>
<tr> <td colspan=1 rowspan=1 > 13 </td><td colspan=1 rowspan=1 > Chicago Blackhawks </td><td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > .462 </td><td colspan=1 rowspan=1 > 1931, 1934, 1938, 1944, 1961, 1962, 1965, 1971, 1973, 1992, 2010, 2013, 2015 </td></tr>
<tr> <td colspan=1 rowspan=1 > 11 </td><td colspan=1 rowspan=1 > New York Rangers </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > .364 </td><td colspan=1 rowspan=1 > 1928, 1929, 1932, 1933, 1937, 1940, 1950, 1972, 1979, 1994, 2014 </td></tr>
<tr> <td colspan=1 rowspan=1 > 8 </td><td colspan=1 rowspan=1 > Philadelphia Flyers </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > .250 </td><td colspan=1 rowspan=1 > 1974, 1975, 1976, 1980, 1985, 1987, 1997, 2010 </td></tr>
<tr> <td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > Edmonton Oilers </td><td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > .714 </td><td colspan=1 rowspan=1 > 1983, 1984, 1985, 1987, 1988, 1990, 2006 </td></tr>
<tr> <td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > Pittsburgh Penguins </td><td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .833 </td><td colspan=1 rowspan=1 > 1991, 1992, 2008, 2009, 2016, 2017 </td></tr>
<tr> <td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > New York Islanders </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .800 </td><td colspan=1 rowspan=1 > 1980, 1981, 1982, 1983, 1984 </td></tr>
<tr> <td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > New Jersey Devils </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > .600 </td><td colspan=1 rowspan=1 > 1995, 2000, 2001, 2003, 2012 </td></tr>
<tr> <td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > Dallas Stars </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > .250 </td><td colspan=1 rowspan=1 > 1981, 1991, 1999, 2000 </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Los Angeles Kings </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .667 </td><td colspan=1 rowspan=1 > 1993, 2012, 2014 </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Calgary Flames </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > .333 </td><td colspan=1 rowspan=1 > 1986, 1989, 2004 </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > St. Louis Blues </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 1968, 1969, 1970 </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Vancouver Canucks </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 1982, 1994, 2011 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Colorado Avalanche </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1.000 </td><td colspan=1 rowspan=1 > 1996, 2001 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Anaheim Ducks </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .500 </td><td colspan=1 rowspan=1 > 2003, 2007 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Carolina Hurricanes </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .500 </td><td colspan=1 rowspan=1 > 2002, 2006 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Tampa Bay Lightning </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .500 </td><td colspan=1 rowspan=1 > 2004, 2015 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Washington Capitals </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .500 </td><td colspan=1 rowspan=1 > 1998, 2018 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Buffalo Sabres </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 1975, 1999 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Florida Panthers </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 1996 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Nashville Predators </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 2017 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Ottawa Senators </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 2007 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > San Jose Sharks </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 2016 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Vegas Golden Knights </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > .000 </td><td colspan=1 rowspan=1 > 2018 </td></tr>
</table>
Question:
How many Stanley Cup championships did Toronto Maple Leafs and Montreal Canadiens win?
Answer:
The Toronto Maple Leafs has won thirteen Stanley Cup championships, and the Montreal Canadiens won 24 championships.