I cannot install anaconda on ubuntu 22.04

Dears, while I’m trying to accept the license terms by writing “yes” my terminal delete the license terms and shows up a king of loop with letters “y”. Could you help me, please?