done solution for FiveArrayCommonInteger