---
# System prepended metadata

title: 13293 - hijklmnop
tags: [array]

---

# 13293 - hijklmnop
>author: Utin
###### tags: `array`

---

## Brief
See the code below

## Solution 0

```c=
#include<stdio.h>

int main() {
    char c9[10];
    char c4[5];
    scanf("%s", c9);
    scanf("%s", c4);

    int index4[4];
    for(int i=0; i<4; i++) {
        if(c4[i] >= '0' && c4[i] <= '9') {
            index4[i] = c4[i]-'1';
            printf("%c", c9[index4[i]]);
        }
        else {
            for(int j=0; j<9; j++) {
                if(c4[i] == c9[j]) {
                    printf("%c", j+'1');
                    break;
                }
            }
        }
    }
}
// By Utin
```

## Reference