s = io.read()
if s == "ooo" then
  print(1000)
elseif s == "xoo" then
  print(900)
elseif s == "oxo" then
  print(900)
elseif s == "oox" then
  print(900)
elseif s == "xxo" then
  print(800)
elseif s == "oxx" then
  print(800)
elseif s == "xox" then
  print(800)
else
  print(700)
end