Calculate the total cost when given the items and the rate.
Apples- 5 pcs; Rate- $1/pc
Given that there are 5 apples at a cost of $1 per piece, the total amount would be 5 x $1= $5.
Complete the following task based on the instruction and optional input provided.### Instruction:
Calculate the total cost when given the items and the rate.

### Input:
Apples- 5 pcs; Rate- $1/pc

### Output:
Given that there are 5 apples at a cost of $1 per piece, the total amount would be 5 x $1= $5.