A:Someone ate there.
B:Someone ran there.
C:Someone talked loudly there.
如图,在Rt△ABC中,∠C=90°,BD平分∠ABC交AC于D,沿DE所在直线折叠,使点B恰好与点A重合,若CD=2,则AB的值为( )