#include <iostream>
#include <string.h>
using namespace std;
void fun(char *s, char t[])
{
int j = 0;
for (unsigned int i = 0; i < strlen(s); i++)
{
if (i % 2 == 1 && ((int)s[i] % 2 == 1)) continue;
t[j++] = s[i];
}
t[j] = '\0';
}
int main()
{
char s[] = "hello world!";
char t[100];
fun(s, t);
cout << t << endl;
}