#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main()
{
const char* s = "ab234cid*(s349*(20kd";
int i1, i2, i3;
"%*[^0123456789]%d%*[^0123456789]%d%*[^0123456789]%d",
&i1,
&i2,
&i3))
{
printf("%d %d %d\n", i1
, i2
, i3
);
}
return 0;
}
I2luY2x1ZGUgPHN0ZGxpYi5oPgoKI2luY2x1ZGUgPHN0ZGlvLmg+CgojaW5jbHVkZSA8c3RyaW5nLmg+CgoKCmludCBtYWluKCkKCnsKCiAgICBjb25zdCBjaGFyKiBzID0gImFiMjM0Y2lkKihzMzQ5KigyMGtkIjsKCiAgICBpbnQgaTEsIGkyLCBpMzsKCiAgICBpZiAoMyA9PSBzc2NhbmYocywKCiAgICAgICAgICAgICAgICAgICAgIiUqW14wMTIzNDU2Nzg5XSVkJSpbXjAxMjM0NTY3ODldJWQlKlteMDEyMzQ1Njc4OV0lZCIsCgogICAgICAgICAgICAgICAgICAgICZpMSwKCiAgICAgICAgICAgICAgICAgICAgJmkyLAoKICAgICAgICAgICAgICAgICAgICAmaTMpKQoKICAgIHsKCiAgICAgICAgcHJpbnRmKCIlZCAlZCAlZFxuIiwgaTEsIGkyLCBpMyk7CgogICAgfQoKCgogICAgcmV0dXJuIDA7Cgp9Cgo=