# digit sum until no change

## Submit

File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

## Problem

f(x) = 1st digit of x + 2nd digit of x + ... + last digit of x

f(7) = 7
f(55) = 10
f(100) = 1
f(20192019201920192019) = 60

for all 10 lines, print f(x), repeat f(y) on the same line until no change separated by spaces

7: 7
55: 10 1
99999999999: 99 18 9

PS. \n at the end of all 10 lines because I am very nice :)

exec is denied

## Sample input:_

```7
55
100
20192019201920192019
2300375307592024725842496
2061913817187830303568138
1719652887001645132447660
608151963456967130688992
559125563855553699257396
1945302880216548672024940
```

```7
10 1
1
60 6
99 18 9
102 3
103 4
122 5
128 11 2
100 1```

## Sample input:_

```1861436587821970027787818
326289172319285690688178
1788461159070311361905172
308927083631017941736021
132632831615610849491973
27388862610835465077638
615951394902526366660430
142049713975717838393742
2196997868587946408223314
1391584248947717293606256
```

```124 7
121 4
96 15 6
91 10 1
102 3
113 5
101 2
114 6
131 5
119 11 2```

## Sample input:_

```1272707626717540460197474
1120979345726602230167363
1361742339107870567955641
1180843073826810701333938
802662329199440559286833
541184281901749936152194
1435301411703501278767869
2043280480859793085297805
993401686999389422684916
505919069830564912678555
```

```106 7
95 14 5
110 2
97 16 7
114 6
104 5
99 18 9
116 8
135 9
118 10 1```

## Ranking

### Ruby_

RankUserSizeTimeDateStatistics
1Histocrat530.03292019/04/19 00:18:570B / 17B / 33B
2rotary-o530.04172019/05/02 09:39:330B / 17B / 33B
3Golzeb650.03352019/04/18 10:44:490B / 32B / 30B
4Unihedron ユニ1030.02732019/04/18 06:28:560B / 56B / 38B

### Ruby2_

RankUserSizeTimeDateStatistics
1hako510.15022019/04/20 12:36:230B / 21B / 27B
2Histocrat510.15772019/04/27 05:20:080B / 21B / 27B
3rotary-o510.15322019/05/04 18:22:010B / 21B / 27B
4letranger520.15162019/04/19 00:01:000B / 22B / 27B
5polo630.16512020/04/15 23:39:250B / 34B / 28B
6Golzeb650.14702019/04/18 10:45:070B / 32B / 30B
7pocke720.17242019/08/31 13:51:450B / 29B / 34B
8Unihedron ユニ980.15482019/04/18 06:26:330B / 50B / 41B

### Perl_

RankUserSizeTimeDateStatistics
1tails510.03602019/05/20 10:47:040B / 21B / 30B

### Python_

RankUserSizeTimeDateStatistics
1mitchs660.08052019/11/22 14:27:160B / 43B / 21B
2llhuii660.08542019/11/22 22:52:290B / 43B / 21B
3twobit720.09142020/04/23 01:55:090B / 46B / 17B
4math junkie730.08242020/05/11 02:39:080B / 46B / 17B
5Dingledooper730.12122020/05/26 05:49:060B / 47B / 17B
6hallvabo810.07402019/04/18 23:10:200B / 50B / 20B
7rolf810.07412019/11/25 07:07:050B / 52B / 27B
8McBusLuck930.08292019/05/20 01:54:510B / ?B / ?B

### Python3_

RankUserSizeTimeDateStatistics
1mitchs740.11262019/11/22 14:49:060B / 42B / 31B
2llhuii740.14362019/11/22 22:59:510B / 41B / 32B
3utan830.11782019/11/22 07:35:070B / 45B / 28B
4mypetlion850.12142019/11/21 06:28:370B / 47B / 37B
5kotauchisunsun1280.12262019/11/18 22:33:430B / 69B / 32B

### JavaScript_

RankUserSizeTimeDateStatistics
10mg730.04112019/09/08 20:58:530B / 40B / 30B
2FizzyTea730.08452020/03/08 22:49:350B / 42B / 30B
3xulapp780.03982019/06/25 04:01:270B / 42B / 33B

### Crystal_

RankUserSizeTimeDateStatistics
1yuruhiya740.04632020/12/08 21:05:390B / 46B / 22B

### Jelly_

RankUserSizeTimeDateStatistics
1hako90.44442021/03/30 00:27:156B / 2B / 1B
2Erik the Outgolfer90.50712021/05/19 17:02:355B / 3B / 1B

### C_

RankUserSizeTimeDateStatistics
1rotary-o1000.04062021/05/19 01:35:110B / 54B / 45B
2tails1010.03162019/05/20 14:12:540B / 52B / 48B
30mg1010.03132019/09/14 12:00:500B / 50B / 51B
4TokusiN1210.03162019/06/18 22:12:010B / 60B / 56B
5chocobi1280.03142019/05/19 22:45:310B / 68B / 59B

RankUserSizeTimeDateStatistics
1Sakisan830.04802020/11/09 23:30:330B / 50B / 27B

### Java_

RankUserSizeTimeDateStatistics
1rotary-o1500.15372021/05/19 01:21:190B / 86B / 59B

### AWK_

RankUserSizeTimeDateStatistics
1Fleur530.04212021/06/24 13:33:000B / ?B / ?B

### Bash_

RankUserSizeTimeDateStatistics
1McBusLuck1220.05022019/05/02 05:49:170B / ?B / ?B

### Bash (builtins)_

RankUserSizeTimeDateStatistics
1tails740.18672019/04/28 02:24:470B / 27B / 38B
2McBusLuck1200.07722021/03/27 04:36:510B / 49B / 54B

### bc_

RankUserSizeTimeDateStatistics
1McBusLuck890.04752020/04/29 08:33:440B / 48B / 37B

### ><>_

RankUserSizeTimeDateStatistics
1Unihedron ユニ800.37102019/04/18 06:02:290B / 23B / 46B

### GolfScript_

RankUserSizeTimeDateStatistics
1Sait2000310.07802021/10/06 19:53:460B / 10B / 20B
2YunGoon360.09482020/04/02 23:03:110B / ?B / ?B

### gs2_

RankUserSizeTimeDateStatistics
1tails130.24852019/04/18 06:44:543B / 6B / 4B
2mitchs130.18012019/04/18 15:17:194B / 7B / 2B
3whio130.18502019/08/01 23:55:063B / 8B / 2B

### Nibbles_

RankUserSizeTimeDateStatistics
1tails60.03882022/02/04 20:00:373B / 2B / 1B
2Erik the Outgolfer70.04962021/12/24 11:01:415B / 2B / 0B

### Lazy-K_

RankUserSizeTimeDateStatistics
1tails10450.32112021/05/19 09:50:160B / 659B / 386B

### goruby_

RankUserSizeTimeDateStatistics
1Golzeb570.06182019/04/18 10:49:410B / 25B / 29B
2Unihedron ユニ870.10522019/04/18 06:38:110B / 41B / 39B

### Scala_

RankUserSizeTimeDateStatistics
1rotary-o858.25622020/12/30 23:50:550B / 49B / 31B
2clock877.60042020/05/24 20:49:150B / 48B / 36B

### Language Ranking_

RankLangUserSizeScore
1Nibblestails610000
2Jellyhako96666
3gs2tails134615
4GolfScriptSait2000311935
5Ruby2hako511176
6Perltails511176
7RubyHistocrat531132
8AWKFleur531132
9gorubyGolzeb571052
10Pythonmitchs66909
11JavaScript0mg73821
12Bash (builtins)tails74810
13Python3mitchs74810
14Crystalyuruhiya74810
15><>Unihedron ユニ80750