Get the total cost of items from a list.
2 pens - $1 each, 1 shirt - $10
The total cost of the items is $12.
Complete the following task based on the instruction and optional input provided.### Instruction:
Get the total cost of items from a list.

### Input:
2 pens - $1 each, 1 shirt - $10

### Output:
The total cost of the items is $12.