#include <bits/stdc++.h> using namespace std; void init(){ vector<int> num(10,0); string s; cin>>s; for(auto& it : s){ if('0'<=it&&it<='9')num[it-'0']++; } num[2]--; num[3]++; for(int i = 0; i < 10; i++){ cout<<(!i)+","<<num[i]; }cout<<endl; } int cnt[10]={20104,20063,19892,20011,19874,20199,19898,20163,19956,19841}; int main() { string s; cin>>s; for(auto& it : s){ if('0'<=it&&it<='9')cnt[it-'0']--; } for(int i = 0; i < 10; i++)if(cnt[i]<0)cout<<i<<" "; for(int i = 0; i < 10; i++)if(cnt[i]>0)cout<<i<<endl; return 0; }