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: Accepted)

function Main (input) {
  input = input.split("\n");
  input = input[0];
  if (input == "a") {input = "b";}
  else if (input == "b") {input = "c";}
  else if (input == "c") {input = "d";}
  else if (input == "d") {input = "e";}
  else if (input == "e") {input = "f";}
  else if (input == "f") {input = "g";}
  else if (input == "g") {input = "h";}
  else if (input == "h") {input = "i";}
  else if (input == "i") {input = "j";}
  else if (input == "j") {input = "k";}
  else if (input == "k") {input = "l";}
  else if (input == "l") {input = "m";}
  else if (input == "m") {input = "n";}
  else if (input == "n") {input = "o";}
  else if (input == "o") {input = "p";}
  else if (input == "p") {input = "q";}
  else if (input == "q") {input = "r";}
  else if (input == "r") {input = "s";}
  else if (input == "s") {input = "t";}
  else if (input == "t") {input = "u";}
  else if (input == "u") {input = "v";}
  else if (input == "v") {input = "w";}
  else if (input == "w") {input = "x";}
  else if (input == "x") {input = "y";}
  else if (input == "y") {input = "z";}
  //else if (input == "z") {input = "a";}
  console.log(input);
}

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