public static void main(String[] args) {
var scanner = new Scanner(System.in);
int[] arr = new int[10];
for (var i = 0; i < arr.length; i++)
arr[i] = scanner.nextInt();
int sum = Arrays.stream(arr).filter(i -> i < 0).sum();
System.out.printf(": %d%n", sum);
}