#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
char t[10];
char r[10];
int c = 0;
for (int i = 0; i < 10 && t[i] != 0; i++) {
if (strchr("01234567890ip+-*/", t
[i
])) { r[c++] = t[i];
}
}
r[c] = '\0';
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN0cmluZy5oPgoKaW50IG1haW4oKSB7CiAgICBjaGFyIHRbMTBdOwogICAgY2hhciByWzEwXTsKICAgIGZnZXRzKHQsIDEwLCBzdGRpbik7CiAgICBpbnQgYyA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IDEwICYmIHRbaV0gIT0gMDsgaSsrKSB7CiAgICAgICAgaWYgKHN0cmNocigiMDEyMzQ1Njc4OTBpcCstKi8iLCB0W2ldKSkgewogICAgICAgICAgICByW2MrK10gPSB0W2ldOwogICAgICAgIH0KICAgIH0KICAgIHJbY10gPSAnXDAnOwogICAgcHJpbnRmKCIlcyIsIHIpOwp9