#include #define ll long long #define pb push_back using namespace std; int main() { ll n, m, t; cin>>n>>m>>t; while(m--){ ll p, s, l; char d; cin>>p>>s>>d>>l; ll dir=0; if(d=='L')dir=-1; else dir=1; //cout<pos)cout<<"="; else cout<<"#"; } } } if(dir==-1){ for(ll i=0;ipos+l-1)cout<<"="; else cout<<"#"; } } } cout<