#include <iostream>
#include <stdio.h>
using namespace std;
int main(void){
    int x = 0;
    cin >> x;
    x = x / 100;
    char S[106];
    S[0] = 'a';
    S[1] = 'i';
    S[2] = '1';
    S[3] = '3';
    S[4] = '3';
    S[5] = '3';
    for(int i = 0; i < x; i++){
        S[i + 6] = '3';
    }
    for(int i = 0; i < x+6; i++){
        printf("%c", S[i]);
    }
    putchar('\n');
    return 0;
}

