Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
218 B
3
Indexable
Never
#include <iostream>
#include <string>
using namespace std;
int main() {
	string a; int b = 0,n = 0;
	char g;
	cin >> a;
	for (int i = 0; i < a.size(); i++) {
		if (a[i] % 2 == 1) a[i] = '0';
	}
	cout << a;
}