Create Output array former n maximum number