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++14 (GCC 5.4.1) (judge verdict: Runtime Error)

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int n,k,m;
  cin>>n>>k>>m;
  int a[n-1],i,res,sum=0;
  for(i=0;i<n-1;i++)
  {
    cin>>a[i];
    sum=sum+a[i];
  }
  res=(m*n)/sum;
  if(res<=k)
    cout<<res;
  else
    cout<<"-1";
}