#include using namespace std; #define ll long long #define maxn 5005 short n,test; int sum,x; void Nhap() { cin>>n; for (int i=0;i>x; while (x>0) { sum+=x%10; x/=10; } } } void process() { } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin>>test; for (int t=0;t