Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

Class

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)
Total Submission(s): 1310    Accepted Submission(s): 817


Problem Description
Avin has two integers a, b (1 ¡Ü a, b ¡Ü 1, 000).
Given x = a + b and y = a - b, can you calculate a*b?
 

Input
The first line contains two integers x, y.
 

Output
Print the result of a*b.
 

Sample Input
4 2
 

Sample Output
3
 

Statistic | Submit | Clarifications | Back