Drawings on a piece of paper in the box#1328

Drawings on a piece of paper in the box

2 seconds
64 megabytes
Easy

You have a piece of squared paper consisting of cells horizontally and cells vertically, with grid lines on the edges also visible. How many different rectangles can you draw on this paper if you can only draw along the lines?

Input

A single line contains two numbers and separated by a space. All input data are natural numbers not exceeding 10^{10000}.

Output

Output a single number — the required number of rectangles.

Examples

Example 1

Loading
Loading