SPOJ FASHION

1025 - Fashion Shows

 * Spoj problem 1025

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

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

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

Output
5 15