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 C (Clang 10.0.0) (judge verdict: Wrong Answer)

#include <stdio.h>
 
int main()
{
	int N ,Y ,R ,num, i;
	  int yue[13] = { 0,31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
	while(scanf("%d%d%d",&N,&Y,&R)){
		num=0;
		if(N%100!=0&&N%4==0||N%100==0&&N%400==0)
			yue[2]=29;
			else{
					yue[2]=28;
			}
			
		
	if(Y>2){
		for(i=1;i<=Y;i++)
			num+=yue[i];
		
	}
	num+=R;
	printf("%d",num);
	}
return 0;

}