KBO Korean Series Champion Number
Time limit2sMemory limit512 MB
Given the Korean name of a KBO team that won the Korean Series, print the number assigned to that team.
- Level
Easy1 of 10
- Topics
- Implementation, String, Hash map
- Solved
- No attempts yet
Problem
The ten clubs of the KBO League are numbered 0 to 9. Given the name of the Korean Series champion, print that team's number.
Input
The first line holds the name of the Korean Series champion. The name is one of the ten strings below, written in Korean exactly as listed here.
- KIA 타이거즈
- LG 트윈스
- NC 다이노스
- SK 와이번스
- kt wiz
- 두산 베어스
- 한화 이글스
- 넥센 히어로즈
- 롯데 자이언츠
- 삼성 라이온즈
Output
Print the champion's number on one line, following the table below.
- 0: KIA 타이거즈 (KIA Tigers)
- 1: LG 트윈스 (LG Twins)
- 2: NC 다이노스 (NC Dinos)
- 3: SK 와이번스 (SK Wyverns)
- 4: kt wiz (kt wiz)
- 5: 두산 베어스 (Doosan Bears)
- 6: 한화 이글스 (Hanwha Eagles)
- 7: 넥센 히어로즈 (Nexen Heroes)
- 8: 롯데 자이언츠 (Lotte Giants)
- 9: 삼성 라이온즈 (Samsung Lions)
Hint
In the 2016 Korean Series, the Doosan Bears beat the NC Dinos four games to none.