#include using namespace std; int a[10]={20104,20063,19892,20011,19874,20199,19898,20163,19956,19841}; string s; int main(){ //freopen("pai.in","r",stdin); //freopen("pai.out","w",stdout); cin>>s; for(int i=0;i<200002;i++)a[s[i]-'0']--; for(int i=0;i<10;i++)if(a[i]==-1){cout<