I have a file with the following format:

```
a 1 2 3 4
b 7 8
c 120

```

I want it to be parsed into:

```
a 10
b 15
c 120

```

I know this can be easily done with awk, but I'm not familiar with the syntax and can't get it to work for me.

Thanks for any help