// 432를 입력하면 4 + 3 + 2 + 432 = 441이 나오게끔

import java.util.*;

class Solution {
public int number_create(int n) {
int solution = 0;
int lastAdd = n;
while (n != 0) {
solution += n % 10;
n /= 10;
}
solution += lastAdd;
return solution;
}

public static void main(String[] args) {
Solution sol = new Solution();
int num1 = 432;
int solution = sol.number_create(num1);
System.out.println(solution);
}
}





후... 박제중이다.....