Nhập xuất #2

View as PDF

Points: 10 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Nhập vào 3 số \(A, B, C\). In ra giá trị biểu thức \((A - B) \times C\).

Input

  • Gồm một dòng duy nhất chứa 3 số nguyên lần lượt là \(A, B, C\) \((A, B, C \leq 100)\).

Output

  • Gồm một dòng duy nhất chứa kết quả bài toán.

Example

Test 1
Input
2 1 10
Output
10
Test 2
Input
4 1 5
Output
15

Comments

There are no comments at the moment.