// Arup Guha
// 2/17/2018
// Small class that implements Scorable (to show that multiple classes can implement the same interface)

import java.util.*;

public class Card implements Scorable {

	private String suit;
	private int number;

	public Card(String s, int n) {
		suit = s;
		number = n;
	}

	// We can define this however we want, including this weird definition.
	public int getScore() {
		return number + suit.length();
	}

	public String toString() {
		return number + " of "+suit;
	}
}