103250: [Atcoder]ABC325 A - Takahashi san

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:6 Solved:0

Description

Score : $100$ points

Problem Statement

Keyence has a culture of addressing everyone with the honorific "san," regardless of their role, age, or position. Even a new employee would call the president "Nakata-san." [Translator's note: this is a bit unusual in Japan.]

You are given a person's surname and first name as strings $S$ and $T$, respectively.

Print the concatenation of the surname, a space ( ), and the honorific (san) in this order.

Constraints

  • Each of $S$ and $T$ is a string that satisfies the following conditions.
    • The length is between $1$ and $10$, inclusive.
    • The first character is an uppercase English letter.
    • All characters except the first one are lowercase English letters.

Input

The input is given from Standard Input in the following format:

$S$ $T$

Output

Print the concatenation of the surname, a space ( ), and the honorific (san) in this order.


Sample Input 1

Takahashi Chokudai

Sample Output 1

Takahashi san

Print the concatenation of the surname (Takahashi), a space ( ), and the honorific (san) in this order.


Sample Input 2

K Eyence

Sample Output 2

K san

Output

分数: 100分

问题描述

Keyence 有一种文化,无论角色、年龄或职位如何,都会用敬语“san”称呼每个人。即使是新员工也会称呼总裁为“Nakata-san”。[译者注:这在日本有点不寻常。]

给定一个人的姓和名作为字符串 $S$ 和 $T$。

按照这个顺序打印姓、空格 ( ) 和敬语 (san) 的连接。

约束

  • 每个字符串 $S$ 和 $T$ 都满足以下条件。
    • 长度在 $1$ 到 $10$ 之间,包括 $1$ 和 $10$。
    • 第一个字符是大写英文字母。
    • 除第一个字符外的所有字符都是小写英文字母。

输入

输入从标准输入按以下格式给出:

$S$ $T$

输出

按照这个顺序打印姓、空格 ( ) 和敬语 (san) 的连接。


样例输入 1

Takahashi Chokudai

样例输出 1

Takahashi san

按照这个顺序打印姓 (Takahashi)、空格 ( ) 和敬语 (san) 的连接。


样例输入 2

K Eyence

样例输出 2

K san

HINT

输出绰号空格san

加入题单

上一题 下一题 算法标签: