int count_jewels(const char *s, const char *j) {
    int count = 0;
    for ( ; *s; ++s) if (strchr(j, *s)) ++count;
    return count;
}

int main() {
    printf(, count_jewels(, ));
    printf(, count_jewels(, ));
    return 0;
}