Input: orange (or yellow) sprocket.
Output: the other sprocket. It turns at the same input velocity but in opposite direction.
Max turnable angle is around 180 deg. It can be larger when increasing sprocket center distance.
The blue rod should be of a cable tensioner type to ensure chain tension.