Which of the following conditions ensures that triangles ABC and DEF are similar? Select all that apply.
(1) A = B, D = C, F = E, B = A, AB/AD = BC/BE
(2) A = D, AB/EF = BC/DE
(3) AB perp CD, DE perp AE, AB = DE and BC = BD
(4) AB parallel to BC, AB parallel to AC, CA parallel to FD