#include<bits/stdc++.h> using namespace std; int i,j; int main(){ for(i=9;i<=100;i++){ for(j=1;j<=i-8;j++){ if((j+i)*6==j*i&&i-j<=8){ cout<<j; } } } return 0; }