正整數(shù)的各位數(shù)字之和被Tom稱(chēng)為T(mén)om數(shù)。求輸入數(shù)(<2^32)的Tom數(shù)!
每行一個(gè)整數(shù)(<2^32).
每行一個(gè)輸出,對(duì)應(yīng)該數(shù)的各位數(shù)之和.
12345 56123 82
15 17 10
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________