2774: Array Upper Bound

Problem Statement