10 lines
No EOL
142 B
Python
10 lines
No EOL
142 B
Python
VALUES = {
|
|
"queen": 9,
|
|
"rook": 5,
|
|
"bishop": 3,
|
|
"knight": 3,
|
|
"pawn": 1,
|
|
"king": "priceless"
|
|
}
|
|
|
|
print(VALUES[input("")]) |