Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
233 B
0
Indexable
Never
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main()
{
	string a;
	cin >> a;
	int b;
	b = a.length();
	for (int i = 0; i < b; i++)
	{
		if (a[i] % 2 != 0) a[i] = '0';
	}
	cout << a;
}