SRM 493 DIV 2

Little mess in array bounds !