Out of 18 points in a plane, no three are in the same straight line except five points that are collinear. How many triangles can be formed by joining them?
(a) 1,220
(b) 1,260
(c) 1,360
(d) 1,500