﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Print_a_Deck
{
    class Program
    {
        static void Main(string[] args)
        {
            string [] deck = new string[] { "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A"};
            string sign = Console.ReadLine();
            foreach (var card in deck)
            {
                Console.WriteLine("{0} of spades, {0} of clubs, {0} of hearts, {0} of diamonds",card);
                if (card==sign)
                {
                    break;
                }
            }

        }
    }
}
