#abc095a. [abc095_a]Something on It

[abc095_a]Something on It

Problem Statement

In "Takahashi-ya", a ramen restaurant, a bowl of ramen costs 700700 yen (the currency of Japan), plus 100100 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 SS. SS is three characters long, and if the first character in SS 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 SS mean the presence or absence of sliced pork and green onions on top of the ramen.

Write a program that, when SS is given, prints the price of the corresponding bowl of ramen.

Constraints

  • SS is a string of length 33.
  • Each character in SS is o or x.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the price of the bowl of ramen corresponding to SS.


Sample Input 1

oxo

Sample Output 1

900

The price of a ramen topped with two kinds of toppings, boiled egg and green onions, is 700+100times2=900700 + 100 \\times 2 = 900 yen.


Sample Input 2

ooo

Sample Output 2

1000

The price of a ramen topped with all three kinds of toppings is 700+100times3=1000700 + 100 \\times 3 = 1000 yen.


Sample Input 3

xxx

Sample Output 3

700

The price of a ramen without any toppings is 700700 yen.