# 2. total mass of characters

```java
  Integer totalMass = characters
                .stream()
                .mapToInt(Person::getMass)
                .sum();

```
