Files
CodeObject/zeta_python/completed/1076.py
yenru0 f74f3c4ec7 add 1025 1918 12101 1076 1247
complete 1076 1247
wander 1025 1918 12101
2020-08-05 21:18:51 +09:00

13 lines
230 B
Python

VALUE = {
"black": 0,
"brown": 1,
"red": 2,
"orange":3,
"yellow":4,
"green": 5,
"blue": 6,
"violet": 7,
"grey": 8,
"white": 9}
print((10*VALUE[input()] + VALUE[input()])*10**VALUE[input()])