if (!(argc == 2 || argc == 3)) {
        fprintf(stderr, "USAGE: count_large size [permissions]\n");
        return 1;
    }

    // TODO: Process command line arguments.
    int required_file_size = strtol(argv[1], NULL, 10);
    char *requirements = NULL;
    if (argc == 3) {
        requirements = argv[2];
    }
    printf("%d\n", required_file_size);
    printf("%s", requirements);

    // TODO: Call check_permissions as part of your solution to count the files to
    // compute and print the correct value.

    int total = 0;
    int file_size;
    char *permissions = NULL;
    scanf("%*s %*d");
    while (scanf("%s %*d %*d %d %*ld %*s %*s", permissions, &file_size) != EOF) {
        printf("%d", file_size);
        printf("%s", permissions);
        // if (file_size >= required_file_size && permissions[0] == '-') {
        //     if (requirements != NULL && check_permissions(&permissions[1], requirements)) {
        //         total += 1;
        //     }
        // }
    }
    printf("%d", total);

    return 0;
Print file size and permission from ls -l output