Alice likes geometric objects, in particular rectangles. Today she drew a grid on a piece of paper, consisting of $$$n$$$ horizontal and $$$m$$$ vertical lines. Since rectangles are her favorite shapes, she wants to know the number of distinct rectangles on the grid that fulfill the following conditions:
A line containing two integers $$$n$$$–number of horizontal lines and $$$m$$$–number of vertical lines $$$(1\leq n, m\leq 100)$$$.
Print one integer – the number of distinct rectangles which fulfill the conditions.
3 4
18
Grid consisting of 3 horizontal and 4 vertical lines.