type input lines, try single and multiple a's and b's abcdefg b---c---c--ac--cb--