Currently your call to Scanner#nextInt is not consuming the newline character so it is being passed through to your first call of Scanner#nextLine, therefore it does not block.
You will need to add
get.nextLine();
after calling nextInt so that your first call to nextLine will block for IO.