#include <stdio.h>
#include <string.h>

void optimizeCode(char *code) {
    if (strstr(code, "x = x + 1;") != NULL) {
        printf("Optimized code: x++; \n");
    }
}

int main() {
    char code[] = "x = x + 1;";
    optimizeCode(code);
    return 0;
}
