<commit_before>package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/non-divisible-subset
 */
public class NonDivisibleSubset {
    private static int nonDivisibleSubset(int[] array, int k) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();<commit_msg>Update Non-Divisible Subset<commit_after>package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/non-divisible-subset
 */
public class NonDivisibleSubset {
    private static int nonDivisibleSubset(int[] array, int k) {
        int[] mods = new int[array.length];
        for (int i = 0; i < array.length; i++) {
            mods[array[i] % k]++;
        }
        int max = mods[0];
        for (int i = 1, j = mods.length - 1; i < j; i++, j--) {
            max += Math.max(mods[i], mods[j]);
        }
        return max;
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
{'fraction_non_alphanumeric': 0.14023831347387716, 'fraction_numerical': 0.00458295142071494, 'mean_word_length': 2.3808049535603715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4932529', 'n_tokens_mistral': 372, 'n_tokens_neox': 361, 'n_words': 90}