Version 2 : Completed
Errors : when 1st key is 5 and the last key is 399 then an unhandled error occurs