#include<iostream> using namespace std; int main() { cout<<"a->1->c"<<endl; cout<<"a->2->b"<<endl; cout<<"c->1->b"<<endl; }