// n쓰기 싫은데ㅠ
#include <stdio.h>

int main() {
    int S[] = {10, 7, 11, 5, 13, 8};
    int n = 6;
    int a;
    int i = 0;
    scanf("%d", &a);

    while (a != S[i]) {
        i++;
    }
    if (a == S[i]) {
        printf("%d", i + 1);
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: