#include using namespace std; int main() { int a = 0; for (int i = 1; i <= 12; i++) { for (int j = 1; j <= 30; j++) { a = j / 10 + j % 10; if (i == a) cout << i << "/" << j << " "; } } cout << endl; return 0; }