# URI - BEECROWD - BEE Online Judge Solution  1010 | Simple Calculate - URI - BEECROWD - BEE Problem 1010 Solution in C,C++,Python

In this problem, the task is to read a code of a product 1, the number of units of product 1, the price for one unit of product 1, the code of a product 2, the number of units of product 2 and the price for one unit of product 2. After this, calculate and show the amount to be paid.

## Input

The input file contains two lines of data. In each line there will be 3 values: two integers and a floating value with 2 digits after the decimal point.

## Output

The output file must be a message like the following example where "Valor a pagar" means Value to Pay. Remember the space after ":" and after "R\$" symbol. The value must be presented with 2 digits after the point.

 Input Samples Output Samples 12 1 5.3016 2 5.10 VALOR A PAGAR: R\$ 15.50
 13 2 15.30161 4 5.20 VALOR A PAGAR: R\$ 51.40
 1 1 15.102 1 15.10 VALOR A PAGAR: R\$ 30.20

### URI Online Judge Solution  1010 | Simple Calculate - URI Problem 1010 Solution in C,C++,Python::

URI Problem 1010 Solution in C :