#include <stdio.h>
#include <stdlib.h>
void tekaTekiTeko( unsigned int batas) {
for ( unsigned int i = 1 ; i <= batas; i++ ) {
if ( i % 2 == 0 && i % 3 == 0 && i % 5 == 0 ) {
} else if ( i % 2 == 0 && i % 3 == 0 ) {
} else if ( i % 2 == 0 && i % 5 == 0 ) {
} else if ( i % 3 == 0 && i % 5 == 0 ) {
} else if ( i % 2 == 0 ) {
} else if ( i % 3 == 0 ) {
} else if ( i % 5 == 0 ) {
} else {
}
}
}
int main( ) {
unsigned int batas;
if ( scanf ( "%u" , & batas
) != 1 || batas
< 20 ) { return EXIT_FAILURE;
}
tekaTekiTeko( batas) ;
return EXIT_SUCCESS;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnZvaWQgdGVrYVRla2lUZWtvKHVuc2lnbmVkIGludCBiYXRhcykgewogICAgZm9yICh1bnNpZ25lZCBpbnQgaSA9IDE7IGkgPD0gYmF0YXM7IGkrKykgewogICAgICAgIGlmIChpICUgMiA9PSAwICYmIGkgJSAzID09IDAgJiYgaSAlIDUgPT0gMCkgewogICAgICAgICAgICBwcmludGYoIlRla2FUZWtpVGVrb1xuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgMiA9PSAwICYmIGkgJSAzID09IDApIHsKICAgICAgICAgICAgcHJpbnRmKCJUZWthVGVraVxuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgMiA9PSAwICYmIGkgJSA1ID09IDApIHsKICAgICAgICAgICAgcHJpbnRmKCJUZWthVGVrb1xuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgMyA9PSAwICYmIGkgJSA1ID09IDApIHsKICAgICAgICAgICAgcHJpbnRmKCJUZWtpVGVrb1xuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgMiA9PSAwKSB7CiAgICAgICAgICAgIHByaW50ZigiVGVrYVxuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgMyA9PSAwKSB7CiAgICAgICAgICAgIHByaW50ZigiVGVraVxuIik7CiAgICAgICAgfSBlbHNlIGlmIChpICUgNSA9PSAwKSB7CiAgICAgICAgICAgIHByaW50ZigiVGVrb1xuIik7CiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgcHJpbnRmKCIldVxuIiwgaSk7CiAgICAgICAgfQogICAgfQp9CgppbnQgbWFpbigpIHsKICAgIHVuc2lnbmVkIGludCBiYXRhczsKCiAgICBwcmludGYoIk1hc3Vra2FuIGJhdGFzOiAiKTsKCiAgICBpZiAoc2NhbmYoIiV1IiwgJmJhdGFzKSAhPSAxIHx8IGJhdGFzIDwgMjApIHsKICAgICAgICByZXR1cm4gRVhJVF9GQUlMVVJFOwogICAgfQogICAgdGVrYVRla2lUZWtvKGJhdGFzKTsKCiAgICByZXR1cm4gRVhJVF9TVUNDRVNTOwp9