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