It's no longer possible to solve it in this state, but you have the right idea, there is just a not-so-intuitive interaction you need to know.
Small hint: Abg rirel vgrz arrqf gb or hfrq.
Big hint: Abg rirel vgrz arrqf gb or hfrq *gb or hfrshy*.