Help me in solving CLB087 problem

My issue

I want the answer

My code

#include <stdio.h>

int main() {
    
    int num[5] = {1, 2, 3, 4, 5}  // Array initialized with values
    
    // Output the 3rd element (index 2)
    printf("%d", num[2]);  // It will print 3
    
    return 0;
}

Learning course: Programming and Problem solving using C
Problem Link: https://www.codechef.com/learn/course/ciet-programming-c/CIETPC26/problems/CLB087