{"size": 152, "ext": "js", "max_stars_repo_path": "l3/perm_missing_elem.js", "max_stars_repo_name": "aalvarado/codility_exercises", "max_stars_repo_stars_event_min_datetime": "2021-04-29T16:23:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-29T16:23:35.000Z", "max_issues_repo_path": "l3/perm_missing_elem.js", "max_issues_repo_name": "aalvarado/codility_exercises", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "l3/perm_missing_elem.js", "max_forks_repo_name": "aalvarado/codility_exercises", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.7142857143, "max_line_length": 92, "alphanum_fraction": 0.5394736842}
function solution(A) {
  if (A.length < 1)
    return 1

  return (((A.length + 1) * (A.length + 2)) / 2) - A.reduce(function(a, e) { return a + e })
}
