In "Takahashi-ya", a ramen restaurant, a bowl of ramen costs 700 yen (the currency of Japan), plus 100 yen for each kind of topping (boiled egg, sliced pork, green onions).  A customer ordered a bowl of ramen and told which toppings to put on his ramen to a clerk. The clerk took a memo of the order as a string S. S is three characters long, and if the first character in S is `o`, it means the ramen should be topped with boiled egg; if that character is `x`, it means the ramen should not be topped with boiled egg. Similarly, the second and third characters in S mean the presence or absence of sliced pork and green onions on top of the ramen.  Write a program that, when S is given, prints the price of the corresponding bowl of ramen.
s = str(input)
v = 700
if s[0] == 'o':
    v+= 100
if s[1] == 'o':
    v+= 100
if s[2] == 'o':
    v += 100
print(v)
s = str(input())
v = 700
if s[0] == 'o':
    v+= 100
if s[1] == 'o':
    v+= 100
if s[2] == 'o':
    v += 100
print(v)