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