#include int main(void){ int n; char s[16]="*7666566666"; scanf("%d",&n); printf("%c\n",s[n]); return 0; }