let find_price s =
  let price = 700 in
  let price0 = 
    if s.[0] = 'o'
    then price + 100
    else price
    in
    let price1 =
      if s.[1] = 'o'
      then price0 + 100
      else price0
    in
    if s.[2] = 'o'
    then price1 + 100
    else price1

let () =
  let s = Scanf.scanf "%s" (fun x -> x) in
  let ans = find_price s in
  Printf.printf "%d\n" ans
