CompletableFuture <In te ge r > l a p t o p s = countLaptops ( ) ; CompletableFuture <In te ge r > desktops = countDesktops ( ) ; CompletableFuture <In te ge r > t a b l e t s = countTablets ( ) ; CompletableFuture <In te ge r > phones = countPhones ( ) ; CompletableFuture <In te ge r > computers = l a p t o p s . thenCombine ( desktops , ( l , d ) −> l ∗ 2 + d ∗ 3) . thenCombine ( t a b l e t s , (sum , t ) −> sum − t ) . thenCombine ( phones , (sum , p ) −> sum + p ∗ ? ? ? ) ;