#include int main(void){ int N; int a[10]={7,7,7,7,1,5,6,7,2,3}; scanf("%d",&N); printf("%d",a[N]); return 0; }