Vlad wants to take a couple of fruits for lunch. He has different bananas, different apples, and different pears. In how many ways can he choose different fruits from the available ones?
Three non-negative integers , , and are given in a single line. All integers do not exceed 10^6.
Print the number of ways to choose different fruits for lunch.
Example 1