<commit_before>import java.io.*;
import java.util.*;
import java.util.stream.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class RansomNote {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int m = in.nextInt();
        int n = in.nextInt();
        Map<String, Integer> magazineMap = new HashMap<>();
        for(int magazine_i=0; magazine_i < m; magazine_i++){
            String key = in.next();
            magazineMap.compute(key, (k, v) -> v == null ? 1 : v+1);
        }
        Map<String, Integer> ransomMap = new HashMap<>();        
        for(int ransom_i=0; ransom_i < n; ransom_i++){
            String key = in.next();
            ransomMap.compute(key, (k, v) -> v == null ? 1 : v+1);        
        }

        if (process(magazineMap, ransomMap)) System.out.println("Yes");
        else System.out.println("No");
    }

    private static boolean process(Map<String, Integer> magazineMap, Map<String, Integer> ransomMap) {
        return !ransomMap.entrySet()
            .stream()
            .anyMatch(map -> !magazineMap.containsKey(map.getKey()) || map.getValue() > (magazineMap.get(map.getKey())));
    }
}
<commit_msg>[chore] better naming<commit_after>import java.io.*;
import java.util.*;
import java.util.stream.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class RansomNote {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int m = in.nextInt();
        int n = in.nextInt();
        Map<String, Integer> magazineMap = new HashMap<>();
        for(int magazine_i=0; magazine_i < m; magazine_i++){
            String key = in.next();
            magazineMap.compute(key, (k, v) -> v == null ? 1 : v+1);
        }
        Map<String, Integer> ransomMap = new HashMap<>();        
        for(int ransom_i=0; ransom_i < n; ransom_i++){
            String key = in.next();
            ransomMap.compute(key, (k, v) -> v == null ? 1 : v+1);        
        }

        if (process(magazineMap, ransomMap)) System.out.println("Yes");
        else System.out.println("No");
    }

    private static boolean process(Map<String, Integer> magazineMap, Map<String, Integer> ransomMap) {
        return !ransomMap.entrySet()
            .stream()
            .anyMatch(entry -> !magazineMap.containsKey(entry.getKey()) ||
                      entry.getValue() > (magazineMap.get(entry.getKey())));
    }
}

{'fraction_non_alphanumeric': 0.1567524115755627, 'fraction_numerical': 0.00482315112540193, 'mean_word_length': 2.3409395973154363, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7650520', 'n_tokens_mistral': 788, 'n_tokens_neox': 750, 'n_words': 186}