Problem:
Score : 100 points

Problem Statement

Given is a lowercase English letter C that is not z. Print the letter that follows C in alphabetical order.

Constraints

C is a lowercase English letter that is not z.

Input

Input is given from Standard Input in the following format:

C

Output

Print the letter that follows C in alphabetical order.

Sample Input 1

a

Sample Output 1

b

a is followed by b.

Sample Input 2

y

Sample Output 2

z

y is followed by z.

Solution in JavaScript (node.js v5.12) (judge verdict: Wrong Answer)

function Main(input) {
	var lines = input.split("\n");
	var words = lines[0].split(" ");
	var m = Number(words[1]);
	var Ps = lines.map((line, i) => i == 0 ? null : Number(line.split(" ")[0])).splice(1, m)
	var Ss = lines.map((line, i) => i == 0 ? null : line.split(" ")[1]).splice(1, m)

	var ACedProblems = []
	var penaltyCount = 0
	for(var i = 0 ; i < m ; i ++) {
		if(Ss[i] === 'AC' && ACedProblems[ACedProblems.length - 1] !== Ps[i]) {
			ACedProblems.push(Ps[i])
		} else if(Ss[i] === 'WA' && ACedProblems[ACedProblems.length - 1] !== Ps[i]) {
			penaltyCount++ 
		}
	}
	console.log(ACedProblems.length, penaltyCount)
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));