#P296. 【例50.2】 计算书费

【例50.2】 计算书费

Description

Below is a price list for books:

  1. Introduction to Computing 28.928.9 yuan/book
  2. Data Structures and Algorithms 32.732.7 yuan/book
  3. Digital Logic 45.645.6 yuan/book
  4. C++ Programming Tutorial 7878 yuan/book
  5. Artificial Intelligence 3535 yuan/book
  6. Computer Architecture 86.286.2 yuan/book
  7. Compiler Principles 27.827.8 yuan/book
  8. Operating Systems 4343 yuan/book
  9. Computer Networks 5656 yuan/book
  10. JAVA Programming 6565 yuan/book
    Given the quantity of each book purchased, calculate the total cost.

Input Format

One line containing 1010 integers (between 00 and 100100 inclusive), representing the quantity of each book purchased: "Introduction to Computing", "Data Structures and Algorithms", "Digital Logic", "C++ Programming Tutorial", "Artificial Intelligence", "Computer Architecture", "Compiler Principles", "Operating Systems", "Computer Networks", and "JAVA Programming". The integers are separated by spaces.

Output Format

One line containing a floating-point number ff, representing the total cost, rounded to one decimal place.

Sample

1 5 8 10 5 1 1 2 3 4
2140.2