{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cscript type\u003d\u0027text/x-mathjax-config\u0027\u003eMathJax.Hub.Config({tex2jax: { inlineMath: [[\u0027$\u0027,\u0027$\u0027]] } }); \u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027 src\u003d\u0027https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\u0027\u003e\u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027\u003esetTimeout(function(){MathJax.Hub.Queue([\u0027Typeset\u0027, MathJax.Hub, \u0027left_view\u0027]);}, 2000);\u003c/script\u003e\n\u003cdiv class\u003d\"panel_content\"\u003e\n As the premier men\u0027s professional basketball league in the world, the National Basketball Association (NBA) has witnessed many superstars, legendary teams and precious friendships. \n \u003cbr\u003e \n \u003cbr\u003e \n \u003cimg style\u003d\"max-width:100%;\" SRC\u003d\"CDN_BASE_URL/e1069bb49750a62ba020de598d8f0659?v\u003d1553504986\"\u003e \n \u003cbr\u003e \n \u003cbr\u003eHere is a list of every season’s champion from the league\u0027s inception in 1946 to 2015. \n \u003cbr\u003e \n \u003cbr\u003eSeason Champion \n \u003cbr\u003e2015-16 Cleveland Cavaliers \n \u003cbr\u003e2014-15 Golden State Warriors \n \u003cbr\u003e2013-14 San Antonio Spurs \n \u003cbr\u003e2012-13 Miami Heat \n \u003cbr\u003e2011-12 Miami Heat \n \u003cbr\u003e2010-11 Dallas Mavericks \n \u003cbr\u003e2009-10 L.A. Lakers \n \u003cbr\u003e2008-09 L.A. Lakers \n \u003cbr\u003e2007-08 Boston Celtics \n \u003cbr\u003e2006-07 San Antonio Spurs \n \u003cbr\u003e2005-06 Miami Heat \n \u003cbr\u003e2004-05 San Antonio Spurs \n \u003cbr\u003e2003-04 Detroit Pistons \n \u003cbr\u003e2002-03 San Antonio Spurs \n \u003cbr\u003e2001-02 L.A. Lakers \n \u003cbr\u003e2000-01 L.A. Lakers \n \u003cbr\u003e1999-00 L.A. Lakers \n \u003cbr\u003e1998-99 San Antonio Spurs \n \u003cbr\u003e1997-98 Chicago Bulls \n \u003cbr\u003e1996-97 Chicago Bulls \n \u003cbr\u003e1995-96 Chicago Bulls \n \u003cbr\u003e1994-95 Houston Rockets \n \u003cbr\u003e1993-94 Houston Rockets \n \u003cbr\u003e1992-93 Chicago Bulls \n \u003cbr\u003e1991-92 Chicago Bulls \n \u003cbr\u003e1990-91 Chicago Bulls \n \u003cbr\u003e1989-90 Detroit Pistons \n \u003cbr\u003e1988-89 Detroit Pistons \n \u003cbr\u003e1987-88 L.A. Lakers \n \u003cbr\u003e1986-87 L.A. Lakers \n \u003cbr\u003e1985-86 Boston Celtics \n \u003cbr\u003e1984-85 L.A. Lakers \n \u003cbr\u003e1983-84 Boston Celtics \n \u003cbr\u003e1982-83 Philadelphia 76ers \n \u003cbr\u003e1981-82 L.A. Lakers \n \u003cbr\u003e1980-81 Boston Celtics \n \u003cbr\u003e1979-80 L.A. Lakers \n \u003cbr\u003e1978-79 Seattle Sonics \n \u003cbr\u003e1977-78 Washington Bullets \n \u003cbr\u003e1976-77 Portland Trail Blazers \n \u003cbr\u003e1975-76 Boston Celtics \n \u003cbr\u003e1974-75 Golden State Warriors \n \u003cbr\u003e1973-74 Boston Celtics \n \u003cbr\u003e1972-73 New York Knicks \n \u003cbr\u003e1971-72 L.A. Lakers \n \u003cbr\u003e1970-71 Milwaukee Bucks \n \u003cbr\u003e1969-70 New York Knicks \n \u003cbr\u003e1968-69 Boston Celtics \n \u003cbr\u003e1967-68 Boston Celtics \n \u003cbr\u003e1966-67 Philadelphia 76ers \n \u003cbr\u003e1965-66 Boston Celtics \n \u003cbr\u003e1964-65 Boston Celtics \n \u003cbr\u003e1963-64 Boston Celtics \n \u003cbr\u003e1962-63 Boston Celtics \n \u003cbr\u003e1961-62 Boston Celtics \n \u003cbr\u003e1960-61 Boston Celtics \n \u003cbr\u003e1959-60 Boston Celtics \n \u003cbr\u003e1958-59 Boston Celtics \n \u003cbr\u003e1957-58 St. Louis Hawks \n \u003cbr\u003e1956-57 Boston Celtics \n \u003cbr\u003e1955-56 Philadelphia Warriors \n \u003cbr\u003e1954-55 Syracuse Nats \n \u003cbr\u003e1953-54 Minneapolis Lakers \n \u003cbr\u003e1952-53 Minneapolis Lakers \n \u003cbr\u003e1951-52 Minneapolis Lakers \n \u003cbr\u003e1950-51 Rochester Royals \n \u003cbr\u003e1949-50 Minneapolis Lakers \n \u003cbr\u003e1948-49 Minneapolis Lakers \n \u003cbr\u003e1947-48 Baltimore Bullets \n \u003cbr\u003e1946-47 Philadelphia Warriors \n \u003cbr\u003e \n \u003cbr\u003e(quoted from http://www.nba.com/history/nba-season-recaps/) \n \u003cbr\u003e \n \u003cbr\u003eGiven the team name, it won’t be difficult for you to count how many times this team(with exactly the same name) has made amazing happen. \n \u003cbr\u003e \n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"The first line gives the number of test cases. Each case contains one string S representing the team to be queried. \n\u003cbr\u003eT\u0026lt;\u003d30.S consists of English letters, digits, punctuations and spaces. And 1\u0026lt;\u003dlength(S)\u0026lt;\u003d30. \n\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"For each test case, output one line containing \"Case #x: y\", where x is the test case number (starting from 1) and y is the times this team has won the championship according to the list above. \n\u003cbr\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e2\nCleveland Cavaliers\nOklahoma City Thunder\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003eCase #1: 1\nCase #2: 0\u003c/pre\u003e"}}]}