PROG0440 - Valentine

Edgar Allen Poe

Below is a valentine poem written in 1846 by Edgar Allen Poe. The name of his sweetheart is hidden in the poem. Can you find that name? Click here for the answer.

For her these lines are penned, whose luminous eyes,
Brightly expressive as the starts of Leda,
Shall find her own sweet name that, nestling, lies
Upon the page, enwrapped from every reader.
Search narrowly these words, which hold a treasure
Divine - a talisman, an amulet
That must be worn at heart. Search well the measure -
The words - the letters themselves. Do not forget
The smallest point, or you may lose your labor.
And yet there is in this no gordian knot
Which one might not undo without a sabre
If one could merely comprehend the plot.
Upon the open page on which are peering
Such sweet eyes now, there lies, I say, perdus,
A musical name oft uttered in the hearing
Of poets, by poets - for the name is a poet's too.
In common sequence set, the letters lying,
Compose a sound delighting all to hear -
Ah, this you'd have no trouble in descrying
Were you not something, of a dunce, my dear -
And now I leave these riddles to their Seer.

Input

The first line of the input contains an integer $t \in \mathbb{N}_0$ indicating the number of lines in the poem. Then $t$ lines follow with the lines of the poem.

Output

The output contains one word, consisting of the first letter of the first line of the poem, followed by the second letter of the second line, the third letter of the third line… Note that we only count the letters of the lines. Spaces, punctuation and digits are not taken into account when determining the $n$-th letter of the $n$-th line.

Example

Input:

21
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.

Output:

Francessergeantosgood
Edgar Allen Poe

Hieronder staat een valentijnsgedicht dat in 1846 geschreven werd door Edgar Allen Poe. De naam van zijn liefje zit in het gedicht verborgen. Kan je die naam vinden? Klik hier voor het antwoord.

For her these lines are penned, whose luminous eyes,
Brightly expressive as the starts of Leda,
Shall find her own sweet name that, nestling, lies
Upon the page, enwrapped from every reader.
Search narrowly these words, which hold a treasure
Divine - a talisman, an amulet
That must be worn at heart. Search well the measure -
The words - the letters themselves. Do not forget
The smallest point, or you may lose your labor.
And yet there is in this no gordian knot
Which one might not undo without a sabre
If one could merely comprehend the plot.
Upon the open page on which are peering
Such sweet eyes now, there lies, I say, perdus,
A musical name oft uttered in the hearing
Of poets, by poets - for the name is a poet's too.
In common sequence set, the letters lying,
Compose a sound delighting all to hear -
Ah, this you'd have no trouble in descrying
Were you not something, of a dunce, my dear -
And now I leave these riddles to their Seer.

Invoer

De eerste regel van de invoer bevat een getal $t \in \mathbb{N}_0$ dat aangeeft uit hoeveel versregels het gedicht bestaat. Daarna volgen $t$ regels met de versregels van het gedicht.

Uitvoer

De uitvoer bestaat uit één enkel woord dat bestaat uit de eerste letter van de eerste versregel van het gedicht, gevolgd door de tweede letter van de tweede versregel, de derde letter van de derde versregel …. Merk op dat we hierbij wel degelijk enkel de letters van een versregel tellen. Er wordt geen rekening gehouden met eventuele spaties, leestekens of cijfers bij het bepalen van de $n$-de letter van de $n$-de versregel.

Voorbeeld

Invoer:

21
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.

Uitvoer:

Francessergeantosgood

Added by:Peter Dawyndt
Date:2013-10-01
Time limit:10s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:PY_NBC
Resource:None

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.