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 (GCC 9.2.1) (judge verdict: Wrong Answer)

#include<stdio.h>
#include<stdlib.h>
#include<time.h> 
int main(){
	int a,b,n;
	
		scanf("%d",&n);
		if(n >=1 && n <= 100){
			if(n ==1 && n == 2){
				printf("NO");
			}else{
				srand((unsigned)time(NULL));
				a = rand()% (n - 2)+1;
				b = n - a;
				if((a % 2 == 0) && (b % 2 == 0)){
				printf("YES");
				}else{
					printf("NO");
				}
			}
		}

}