P27149 [AtCoder] Keyboard
入门
题目描述

Problem Statement

Given are a character S, which is Y or N, and another character T, which is A, B, or C.
If S is Y, print T uppercased.
If S is N, print T as it is.

Input

Input is given from Standard Input in the following format:
S
T

Output

Print a character as specified in the problem statement.

Constraints

  • S is Y or N.
  • T is a, b, or c.

Sample Input 1

Y
a

Sample Output 1

A

Since S is Y, we should print T - which is a - uppercased, that is, A.

Sample Input 2

N
b

Sample Output 2

b

Since S is Y, we should print T - which is b - as it is.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
Y a
样例输出
A