#include int add[100]; int calc(int pos,int num) { int arr[100]; int n,m; if (num==0) {return(0);} for (n=0;n