[TASK]:
You will be given lines of pseudocode, your task is to write the corresponding C++ code. The pseudocode will provide detailed description of the c++ code line by line. The pseudocode is garanteed to be correct and complete.

[INSTRUCTION]:
The following libraries are already included in the code.
```cpp
#include <cstdio>
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <cmath>
#include <cstring>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <list>
#include <fstream>
#include <climits>
#include <cassert>
#include <iomanip>
#include <sstream>
#include <bitset>
using namespace std;
```
Do not include them in your code again. Please surround your code with ```cpp and ``` markers. Note that the code should correspond to the pseudocode line by line.

[PSEUDOCODE]:
define the main function
    create integer N
    create string jolteon with jolteon = "jolteaon"
    create integer jol with jol = 0
    create string flareon with flareon = "flareon"
    create integer fla with fla = 0
    create string umbreon with umbreon = "umbreon"
    create integer umb with umb = 0
    create string leafeon with leafeon = "leafeon"
    create integer leaf with leaf = 0
    create string glaceon with glaceon = "glaceon"
    create integer gla with gla = 0
    create string sylveon with sylveon = "sylveon"
    create integer syl with syl = 0
    create string eevee
    read N
    read eevee
    if N is 8
        print "vaporeon\n"
    else if N is 6
        print "espeon\n"
    else
        for x = 0 to N exclusive
            if eevee[x] is not '.'
                iif eevee[x] is flareon[x] and fla is 0
                    if x is not 2, set leaf to 1
                    set jol to 1
                    set syl to 1
                    set umb to 1
                    if x is not 1 and x is not 2, set gla to 1
                end of the block
                if eevee[x] is glaceon[x] and gla is 0
                    if x is not 2, set leaf to 1
                    set jol to 1
                    set syl to 1
                    set umb to 1
                    if x is not 1 and x is not 2, set fla to 1
                end of the block
                if eevee[x] is leafeon[x] and leaf is 0
                    if x is not 2
                        set fla to 1
                        set gla to 1
                    end of the block
                    set jol to 1
                    set syl to 1
                    set umb to 1
                end of the block
                if eevee[x] is jolteon[x] and jol is 0
                    set leaf to 1
                    set fla to 1
                    if x is not 2, set syl to 1
                    set umb to 1
                    set gla to 1
                end of the block
                if eevee[x] is umbreon[x] and umb is 0
                    set leaf to 1
                    set jol to 1
                    set syl to 1
                    set fla to 1
                    set gla to 1
                end of the block
                if eevee[x] is sylveon[x] and syl is 0
                    set leaf to 1
                    set fla to 1
                    if x is not 2, set jol to 1
                    set umb to 1
                    set gla to 1
                end of the block
                if syl + leaf + jol + umb + gla + fla is 5
                    if syl is 0, print sylveon print "\n"
                    if gla is 0, print glaceon print "\n"
                    if fla is 0, print flareon print "\n"
                    if jol is 0, print jolteon print "\n"
                    if umb is 0 print umbreon print "\n"
                    if leaf is 0 print leafon print "\n"
                    break loop
                end of the block
            end of the block
        end of the block
    end of the block
end of the block

[CODE]:

int main() {
    int N;
    string jolteon = "jolteon";
    int jol = 0;
    string flareon = "flareon";
    int fla = 0;
    string umbreon = "umbreon";
    int umb = 0;
    string leafeon = "leafeon";
    int leaf = 0;
    string glaceon = "glaceon";
    int gla = 0;
    string sylveon = "sylveon";
    int syl = 0;
    string eevee;
    cin >> N;
    cin >> eevee;
    if (N == 8) {
        cout << "vaporeon\n";
    } else if (N == 6) {
        cout << "espeon\n";
    } else {
        for (int x = 0; x < N; x++) {
            if (eevee[x] != '.') {
                if (eevee[x] == flareon[x] && fla == 0) {
                    if (x != 2) { leaf = 1; }
                    jol = 1;
                    syl = 1;
                    umb = 1;
                    if (x != 1 && x != 2) { gla = 1; }
                }
                if (eevee[x] == glaceon[x] && gla == 0) {
                    if (x != 2) { leaf = 1; }
                    jol = 1;
                    syl = 1;
                    umb = 1;
                    if (x != 1 && x != 2) { fla = 1; }
                }
                if (eevee[x] == leafeon[x] && leaf == 0) {
                    if (x != 2) {
                        fla = 1;
                        gla = 1;
                    }
                    jol = 1;
                    syl = 1;
                    umb = 1;
                }
                if (eevee[x] == jolteon[x] && jol == 0) {
                    leaf = 1;
                    fla = 1;
                    if (x != 2) { syl = 1; }
                    umb = 1;
                    gla = 1;
                }
                if (eevee[x] == umbreon[x] && umb == 0) {
                    leaf = 1;
                    jol = 1;
                    syl = 1;
                    fla = 1;
                    gla = 1;
                }
                if (eevee[x] == sylveon[x] && syl == 0) {
                    leaf = 1;
                    fla = 1;
                    if (x != 2) { jol = 1; }
                    umb = 1;
                    gla = 1;
                }
                if (syl + leaf + jol + umb + gla + fla == 5) {
                    if (syl == 0) { cout << sylveon << "\n"; }
                    if (gla == 0) { cout << glaceon << "\n"; }
                    if (fla == 0) { cout << flareon << "\n"; }
                    if (jol == 0) { cout << jolteon << "\n"; }
                    if (umb == 0) { cout << umbreon << "\n"; }
                    if (leaf == 0) { cout << leafeon << "\n"; }
                    break;
                }
            }
        }
    }
}