7913: Art

内存限制:512 MB 时间限制:2.000 S
评测方式:文本比较 命题人:
提交:1 解决:1

题目描述

Vera has five sticks of distinct lengths l1, l2, l3, l4, l5. Vera may choose any three of the five sticks to form the sides of a triangle. How many different triangles can Vera make? Each triangle must have positive area and sticks cannot be bent or cut.

输入

Line 1 contains integers l1, l2, l3, l4, l5 (1 ≤ li ≤ 1000). 

输出

Print one line with one integer, the number of ways to form a triangle. 

样例输入 复制

1 2 3 4 5

样例输出 复制

3