#include <iostream>
using namespace std;
int main() {
char arr[5] = { 'a', 'b', 'c', 'd', 'e' };
for(int i = 1; i < 5; i++) {
cout << "*";
if((arr[i] - arr[i - 1]) % 2)
continue;
cout << "*";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgaW50IG1haW4oKSB7CiAgICAgICAgY2hhciBhcnJbNV0gPSB7ICdhJywgJ2InLCAnYycsICdkJywgJ2UnIH07CiAgICAgICAgZm9yKGludCBpID0gMTsgaSA8IDU7IGkrKykgewogICAgICAgICAgICBjb3V0IDw8ICIqIjsKICAgICAgICAgICAgaWYoKGFycltpXSAtIGFycltpIC0gMV0pICUgMikKICAgICAgICAgICAgICAgIGNvbnRpbnVlOwogICAgICAgICAgICBjb3V0IDw8ICIqIjsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIDA7Cn0KCg==