Based on the side lengths given (a, b, and c), which triangles are right triangles?
A)a=18
b=24
c=42

B)a=33
b=56
c=65

C)a=19
b=180
c=181

D)a=3
b=4
c=7