Beer match logic