#include int main(){ int age = 0; scanf("%d",&age); // 1の位の7を残す age -= 7; if(age > 7){ printf("%d",age); }else{ printf("-1"); } }