Shiro loves chess and thus asks you to code a program that outputs the value of a given chess piece. The pieces include a queen worth 9, a rook worth 5, a bishop and a knight worth 3 each, a pawn worth 1, and the king being priceless. Given the name of the piece
Input Specification
The first line contains the name
Output Specification
Output the value of the piece as specified above.
Sample Input 1
Copy
queen
Sample Output 1
Copy
9
Sample Input 2
Copy
king
Sample Output 2
Copy
priceless
Comments