Freestyle
Doping scandals in sports like freestyle are quite rare. Unlike sports such as skiing or speed skating, an athlete's physical attributes are not as crucial in freestyle. However, just before the Vancouver Olympics, a doping scandal broke out involving a prominent freestyle athlete.
Journalists are the primary beneficiaries of such stories, as they seek to amplify the scandal's details to increase their ratings. Currently, M out of N journalists accredited at the Olympics are aware of this story. To keep the scandalous news at a high rating, one of the following events must occur each day: a journalist learns about the scandal, a journalist discovers that another journalist is already aware of the scandal, or a journalist finds out that another journalist is not yet aware of the scandal. What is the maximum number of days the news rating can be sustained, given that no journalist knows whether another journalist is aware of the scandal or not?
Input
The input consists of a single line containing the numbers N and M (1 ≤ M ≤ N ≤ 10^4), separated by a space.
Output
Output a single number — the solution to the problem.