I'm sure there's some smart like 1/2p solution that is substantially smaller and cheaper but if this ends up being my final submission then I couldn't be bothered to find it.