import javax.swing.*;

public class CardGame

{
	public static void main(String[] args)
	{
		String input1 = JOptionPane.showInputDialog(null,"Enter a shorthand card notation (\"2d\" for 2 of diamonds...)");
		Card card1=new Card(input1);
		System.out.println("The card is the " + card1.getFace() + " of " + card1.getSuit() + ".");
	}
}
