Calculates the number of triangles with the same perimeter.

Input: Perimeter Output: Number of Triangles

Perimeter:

Perimeter: 14 Number of Triangles: 4 Triangles: 6,6,2 6,5,3 6,4,4 5,5,4