{"size": 216, "ext": "js", "max_stars_repo_path": "sumDigits.js", "max_stars_repo_name": "DenislavDimitrov/SoftUni-exercises", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "sumDigits.js", "max_issues_repo_name": "DenislavDimitrov/SoftUni-exercises", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "sumDigits.js", "max_forks_repo_name": "DenislavDimitrov/SoftUni-exercises", "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": 18.0, "max_line_length": 65, "alphanum_fraction": 0.6157407407}
function solve(number){

    number = number.toString();
    let sum = 0;
    for (let position = 0; position < number.length; position++){
        sum+=Number(number[position])
    }
console.log(sum)


} 
solve(359)