P25472 [AtCoder] [ABC015A] Takahashi's Training
入门
题目描述

Problem Description

Takahashi works at a software company. In this company, short variable names are believed to be a cause of bugs, and there is a habit of using long variable names.

Takahashi has come up with two variable names, but unfortunately, he cannot distinguish their lengths.

Please help him by finding the longer of the two given strings consisting only of lowercase alphabets.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $

  • The first line contains the string $A\ (1\ ≦\ |A|\ ≦\ 50)$.
  • The second line contains the string $B\ (1\ ≦\ |B|\ ≦\ 50)$.
  • It is guaranteed that strings $ A,B $ contain only lowercase alphabets.
  • It is guaranteed that the lengths of strings $ A,B $ are different.

Output Format

Output the longer string in one line. Include a newline at the end of the output.

Sample Input and Output

Sample Input #1

isuruu
isleapyear

Sample Output #1

isleapyear

Sample Input #2

ttttiiiimmmmeeee
time

Sample Output #2

ttttiiiimmmmeeee

Notes/Hints

Sample Explanation 1

isuruu is 6 characters long, and isleapyear is 10 characters long, so output isleapyear.

Sample Explanation 2

Such variable names are evil, but they are considered righteous in his company.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
isuruu isleapyear
样例输出
isleapyear