Somma dei valori assoluti negativi

Dato 5 numeri in virgola mobile differenti, il tuo compito è calcolare la somma di tutti i valori assoluti negativi degli elementi.

Input

Output

4
-3.5
2
-4
1

-14.5

Spiegazione: .

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue