{"size": 162, "ext": "js", "max_stars_repo_path": "2019/1A.js", "max_stars_repo_name": "zhang1pr/AdventOfCode.js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "2019/1A.js", "max_issues_repo_name": "zhang1pr/AdventOfCode.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "2019/1A.js", "max_forks_repo_name": "zhang1pr/AdventOfCode.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.2, "max_line_length": 59, "alphanum_fraction": 0.5864197531}
function A(input) {
  let count = 0;

  input.split('\n').forEach(number => {
    count = count + Math.floor(parseInt(number, 10)/3) - 2;
  })

  return count;
}
