s = eval(input())

c = s.count("o")

print((700 + 100 * c))
s = eval(input())

p = 700

for c in s:

    if c == 'o':

        p += 100



print(p)
s = eval(input())
c = s.count("o")
print((700 + 100 * c))

s = eval(input())
p = 700
for c in s:
    if c == "o":
        p += 100
print(p)

-c = s.count("o") -print((700 + 100 * c)) +p = 700 +for c in s: +    if c == "o": +        p += 100 +print(p)