#include <bits/stdc++.h>   using namespace std;   void past_code();   void file() {}   long long gcd(long long x, long long y) {     if (y == 0) return x;     return gcd(y, x % y);   }   long long todic(string z) {     long long sum = 0;     long long j = 1;     for (long long i = 0; i < z.length(); i++) {       sum += (z[i] -  0 ) * j;       j *= 2;     }     return sum;   }   string tobin(long long a) {     string x;     while (a != 0) {       x += to_string(a % 2);       a /= 2;     }     return x;   }   bool isPrime(long long n) {     if (n <= 1) return false;     for (long long i = 2; i <= sqrt(n); i++)       if (n % i == 0) return false;     return true;   }   string towlo(string x) {     string h;     for (long long i = 0; i < x.length(); i++) {       h += tolower(x[i]);     }     return h;   }   bool comp(pair<long long, long long> a, pair<long long, long long> b) {     return a.second > b.second;   }   inline void read(int &x) {     x = 0;     char c = getchar();     int f = 1;     while (c <  0  || c >  9 ) {       if (c ==  - ) f = -1;       c = getchar();     }     while (c >=  0  && c <=  9 ) {       x = 10 * x + c -  0 ;       c = getchar();     }     x *= f;   }   long long fact(long long o) {     if (o == 0) return 1;     return o * fact(o - 1);   }   long long sumd(long long x) {     long long sum = 0;     while (x != 0) {       sum += x % 10;       x /= 10;     }     return sum;   }   bool com(pair<long long, long long> a, pair<long long, long long> b) {     return a.second > b.second;   }   bool vis[505][505];   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     string x;     cin >> x;     int k;     cin >> k;     map<string, int> m;     string h[] = { January ,    February ,  March ,     April ,                    May ,        June ,      July ,      August ,                    September ,  October ,   November ,  December };     m[ January ] = 0;     m[ June ] = 5;     m[ November ] = 10;     m[ February ] = 1;     m[ July ] = 6;     m[ December ] = 11;     m[ March ] = 2;     m[ August ] = 7;     m[ April ] = 3;     m[ September ] = 8;     m[ May ] = 4;     m[ October ] = 9;     cout << h[(k + m[x]) % 12] <<   n ;     return 0;   }   