J 、Q、K、10 4个
暴力就行了
#include "bits/stdc++.h"
using namespace std;
int n;
map<int,int>mp;
int main()
{
// 2 3 4 5 6 7 8 9 10 A 1 | 11 10 10 10 10 16
while (cin >> n)
{
int cnt = 0;
int f = 0;
for(int i=1;i<=11;i++){
if(10+i == n){
if(i == 10){
cnt+= 16;
f=1;
}
else cnt += 4;
}
}
if(f) cnt--;
cout << cnt << endl;
}
return 0;
}