#include using namespace std; int main(){ int vec[9]; for(int i=0; i<9; i++){ cin>>vec[i]; } for(int i=0; i<9; i++){ if(vec[i] != i) cout<