using System; namespace yukicoder { class Program { static void Main(string[] args) { string s = Console.ReadLine(); string ans = ""; for (int i = 0; i < s.Length; i++) { string b = s.Substring(i, 1); if ( b == "?" ) { ans = b; } } Console.WriteLine(ans); } } }