using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;


class Program
{
Β  static void Main(String[] args)
Β  {
Β  Β  String str = Console.ReadLine();
Β  Β  Console.WriteLine(convert(str));
Β  }

Β  private static String convert(String str)
Β  {
Β  Β  String cstr = Regex.Replace(str, @"[^a-zA-Z]", "");
Β  Β  int num = int.Parse(Regex.Replace(str, @"[^0-9]", ""));
Β  Β  return cstr + (num + 1).ToString();
Β  }
}