/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Map<Integer, String> masterMap = new HashMap<Integer, String>();
        masterMap.put(1537, "OK");
        masterMap.put(1538, "OK");
        masterMap.put(4003, "OK");

        Set<Integer> selectedSet = new HashSet<Integer>();
        selectedSet.add(Integer.parseInt("4003"));
        boolean compareMapAndSet = checkSubSet(masterMap.keySet(), selectedSet);
        System.out.println(compareMapAndSet);
    }

    private static boolean checkSubSet(Set<Integer> keySet, Set<Integer> selectedSet) {
        for (Integer integer : selectedSet) {
            if (!keySet.contains(integer)) {
                return false;
            }
        }
        return true;
    }
}