PUMaC 2016 Team Problem 1

Quadrilateral A B C D has integer side lengths, and angles A B C, A C D, and B A D are right angles. Compute the smallest possible value of A D.