Orange
题意翻译
愚人节题目,题面的那张图就是需要撰写的代码,您需要做的便是将它翻译成正常的程序代码。
这段程序的作用是:
输入一个只含拉丁字母的字符串和一个数,将字符串转换为小写,之后便历每一个字符,如果它的字母表序小于等于先前输入的那个数字所代表的字母的字母表序,就将这个字符转换为大写字母,最后输出处理过的字符串。
Translated by @PC_DOS
题目描述
![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF290D/20f37fba13fdbf89ddfa50f3b66f2b09e51cb480.png)
输入输出格式
输入格式
The first line of the input is a string (between 1 and 50 characters long, inclusive). Each character will be a letter of English alphabet, lowercase or uppercase.
The second line of the input is an integer between 0 and 26, inclusive.
输出格式
Output the required string.
输入输出样例
输入样例 #1
AprilFool
14
输出样例 #1
AprILFooL