Text and lines

Given a text of words, we are interested in lines having a-strings
(strings starting with lowercase letter ’a’). Write a program that
provided a text with one or more lines prints the first line in the text
having more a-strings than the first text line has. If this line does
not exist the program has to print the sentence Not found.

Input

Input consists of one or more lines of text.

Output

The first input line having more a-strings than the first line has. If
this line does not exists the program has to print the sentence
Not found.

Problem information

Author: Proal

Generation: 2026-01-25T19:27:07.071Z

© Jutge.org, 2006–2026.
https://jutge.org
