17 lines
206 B
C++
17 lines
206 B
C++
#include <bits/stdc++.h>
|
|
#define endl '\n'
|
|
using namespace std;
|
|
|
|
string n;
|
|
|
|
int main(){
|
|
cin >> n;
|
|
|
|
for(int i = 0; i < n.size(); i++){
|
|
if(n[i] == '4') cout << '8';
|
|
else cout << n[i];
|
|
}
|
|
return 0;
|
|
}
|
|
|