toppingu = eval(input())

toppingu = toppingu.count("o")



print((700+int(100 * int(toppingu))))
S=eval(input())

T=S.count("o")

print((700+T*100))

toppingu = eval(input())
toppingu = toppingu.count("o")
print((700 + int(100 * int(toppingu))))

S = eval(input())
T = S.count("o")
print((700 + T * 100))

-toppingu = eval(input()) -toppingu = toppingu.count("o") -print((700 + int(100 * int(toppingu)))) +S = eval(input()) +T = S.count("o") +print((700 + T * 100))