#PCBSAU0000009. Tổng và tích ba số (Sum and Product of Three Integers)

Tổng và tích ba số (Sum and Product of Three Integers)

Sum and Product of Three Integers

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given three integers a,b,ca,b,c, calculate their sum and product.

Input

One line containing integers a,b,ca,b,c.

Output

Print the sum followed by the product on separate lines.

Subtask

  • Subtask 1 — 100 points: −106≤a,b,c≤106-10^6\le a,b,c\le10^6.

Example

Input

2 -3 4

Output

3
-24

Explanation

For 2,−3,42,-3,4, the sum is 2−3+4=32-3+4=3 and the product is 2(−3)4=−242(-3)4=-24. Print 3 and -24 on consecutive lines.