VTRI2 - Triangles 2

no tags 

Triangle 2

(This is a bonus problem. You will get a maximum score of 30 from this one)

This problem description is the same as the problem VTRI except that in all test cases 200 ≤ X, Y ≤ 250.

The result will fit in a 64-bit integer.

Example

Input
200 200 1

Output
1488042840


Added by:VOJ Team
Date:2008-06-15
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ERL JS-RHINO NODEJS PERL6 VB.NET
Resource:VNOI Marathon 2008