class CurrencyUtils {

	public static String countryFlagForCurrency(String c) {
		if (EUR.equals(c)) {
			return "europeanunion";
		} else if (USD.equals(c)) {
			return "us";
		}

		String commodityCode = COMMODITIES.get(c);

		if (commodityCode != null) {
			return commodityCode;
		}

		List<String> codes = countryCodesForCurrency(c);

		if (!codes.isEmpty()) {
			Collections.sort(codes);
			String code = codes.get(0);
			return code.toLowerCase();
		}

		return null;
	}

}