qqq = list(eval(input()))

List_R = []

if qqq[0] == "o":

    List_R.append(1)

if qqq[1] == "o":

    List_R.append(1)

if qqq[2] == "o":

    List_R.append(1)

print((700+len(List_R*100)))
S = eval(input())

from collections import Counter

ans = Counter(S)

print((ans["o"]*100 + 700))
qqq = list(eval(input()))
List_R = []
if qqq[0] == "o":
    List_R.append(1)
if qqq[1] == "o":
    List_R.append(1)
if qqq[2] == "o":
    List_R.append(1)
print((700 + len(List_R * 100)))

S = eval(input())
from collections import Counter

ans = Counter(S)
print((ans["o"] * 100 + 700))

-qqq = list(eval(input())) -List_R = [] -if qqq[0] == "o": -    List_R.append(1) -if qqq[1] == "o": -    List_R.append(1) -if qqq[2] == "o": -    List_R.append(1) -print((700 + len(List_R * 100))) +S = eval(input()) +from collections import Counter + +ans = Counter(S) +print((ans["o"] * 100 + 700))