Console input check groupped