#include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
ifstream f("fisier.txt");
int main(){
//Declarare variabile
char s[200];
bool exista = 0;
//Citire date
f >> s;
//Prelucrare
for(int i=0;i<strlen(s);i++){
if((s[i]-'0')%2==0 ){
exista = 1;
cout << s[i] << " ";
}
}
//Afisare mesaj daca nu exista
if(!exista) cout << "Nu exita";
}