7004: ABC269 —— A - Anyway Takahashi
[Creator : ]
Description
You are given integers $a, b, c$, and $d$. Print two lines as follows.
The first line should contain the result of calculating $(a + b) \times (c - d)$ as an integer.
The second line should contain Takahashi, regardless of the input.
The first line should contain the result of calculating $(a + b) \times (c - d)$ as an integer.
The second line should contain Takahashi, regardless of the input.
Input
The input is given from Standard Input in the following format:
$a\ b\ c\ d$
$a\ b\ c\ d$
Output
Print two lines according to the Problem Statement.
Constraints
$−100≤a,b,c,d≤100$
$a, b, c, d$ are integers.
$a, b, c, d$ are integers.
Sample 1 Input
1 2 5 3
Sample 1 Output
6
Takahashi
We have $(1 + 2) \times(5 - 3) = 3 \times 2 = 6$, so the first line should contain $6$.
The second line should contain Takahashi. Lowercasing the first character or incorrect spelling will not be accepted, so be careful.
The second line should contain Takahashi. Lowercasing the first character or incorrect spelling will not be accepted, so be careful.
Sample 2 Input
10 -20 30 -40
Sample 2 Output
-700
Takahashi
Sample 3 Input
100 100 100 -100
Sample 3 Output
40000
Takahashi