The sides AB, BC, CA, of a triangle ABC have 3, 4 and 5 interior points respectively on them. The total number of triangles that can be constructed by using these points as vertices is
A) 105
B) 307 C) 420
D) 205