Managed to solve 47.For anyone still needing another hint: both red and green exit from the left side of the portal