Restricted RPS

Problem Name:
Restricted RPS
Site:CodeForces
Links:
Tags:
Problem setters: