#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int replaceZerosWithOnes(int n) {
    char str[20];
    sprintf(str, "%d", n);
    for (int i = 0; i < strlen(str); i++) {
       if (str[i] == '0') {
           str[i] = '1';
       }
}
int modifiedN;
sscanf(str, "%d", &modifiedN);
return modifiedN;
}

int main(){
    int input1 = 102030;
    printf("smaple Input 1: %d, sample Output 1: %d\n", int1, replaceZerosWithOnes(input1));
    int input2 = -404;
    printf("Example Input: %d, Example Output: %d\n", input2, replaceZerosWithOnes(input2));
    int input3 = 404;
    printf("Example Input: %d, Example Output: %d\n", input3, replaceZerosWithOnes(input3));
    
    return 0;
}