#include <stdio.h>

int main() {
    int a[100],n,i,k=0;
    scanf("%d",&n);
    for(i=0;i<n;i++) scanf("%d",&a[i]);
    
    for(int i=0;i<n;i++){
        k= k*10 + a[i];
    }
    printf("%d",k);
    return 0;
}

Embed on website

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