Problem E. Array