P24382 [AtCoder] Anyway Takahashi
入门
题目描述

Problem Statement

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.

Input

The input is given from Standard Input in the following format:
a b c d

Output

Print two lines according to the Problem Statement.

Constraints

  • -$100 \leq a, b, c, d \leq 100$
  • a, b, c, and d are integers.

Sample Input 1

1 2 5 3

Sample Output 1

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.

Sample Input 2

10 -20 30 -40

Sample Output 2

-700
Takahashi

The input or output may contain negative numbers.

Sample Input 3

100 100 100 -100

Sample Output 3

40000
Takahashi

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1 2 5 3
样例输出
6 Takahashi