#include<bits/stdc++.h> using namespace std; int main(){ int a,b=0; cin>>a; int temp=a; int cnt=0; while(temp){ temp=temp/10; if(temp)cnt++; } int temp2=1; for(int i=1;i<=cnt;i++){ temp2*=10; } // cout<<temp2<<endl; temp=a; while(temp){ int temp1=temp%10; temp=temp/10; b+=...