#include using namespace std; #define int long long signed main(){ int N; cin>>N; for(int i=1;i<=10;i++)for(int j=1;j<=10;j++){ if(i+j == N){ cout<