UVa 10783 - Odd Sum

Summary
Find the sum of all the odd numbers between a and b.

Explanation

 * The constraints are small enough for you to brute force.

Optimizations

 * You could use math to figure this out but its really not neccessary for the given constraints.

Input
2 1 5 3 5

Output
Case 1: 9 Case 2: 8