Untitled

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