The sides AB,BC,CA of a triangle ABC have 3,4,5 interior points respectively on them. Find the total number of triangles that can be constructed by using these points as vertices ?