SPOJ FASHION

1025 - Fashion Shows

 * 

Summary
Given the "hotness" level of the male/female, print the total hotness of the group.

Explanation
You are given two rows of integers. For each "column", multiply the two numbers and add them to a running total for the test case.

Gotchas

 * The direct solution seems to give WA, there's probably a point that can be overlooked.

Input
2 2 1 1 3 2 3 2 3 2 1 3 2

Output
5 15