#include<bits/stdc++.h>
using namespace std;
int main(){
for(int i = 1;i <= (100 - 20) / 10;i++){
int x = 100 - i * 10;
if(x % 20 == 0){
cout<<i<<" "<<x / 20<<endl;
}
}
}
/**************************************************************
Problem: 1792
User: linmiaoling
Language: C++
Result: Accepted
Time:4 ms
Memory:2072 kb
****************************************************************/