#abc269a. A - Anyway Takahashi
A - Anyway Takahashi
Score : points
问题描述
给定整数 、、 和 。按如下方式打印两行内容。
第一行应包含计算 的结果,表示为一个整数。
第二行无论输入如何,都应包含 Takahashi
。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
You are given integers , , , and . Print two lines as follows.
The first line should contain the result of calculating as an integer.
The second line should contain Takahashi
, regardless of the input.
Constraints
- , , , and are integers.
Input
The input is given from Standard Input in the following format:
Output
Print two lines according to the Problem Statement.
Sample Input 1
1 2 5 3
Sample Output 1
6
Takahashi
We have , so the first line should contain .
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
update @ 2024/3/10 11:20:21