Three Letter Words

Regexp Rush, January 2023...
Limits 1s, 512 MB

Given a line of text find all the three-letter words.

Input

A line of text containing upper and lowercase alphabets and spaces. The line will contain at most 1000 characters.

Output

The output should contain all three letter words, as they appear in the original text, one per line.

Sample

InputOutput
The quick brown fox jumps over the lazy dog
The
fox
the
dog

Submit

Login to submit.

Statistics

82% Solution Ratio
trion129Earliest, 4M ago
jackal_1586Fastest, 0.0s
rayhan_labibLightest, 4.9 MB
Rafan_HaizarShortest, 9B
Toph uses cookies. By continuing you agree to our Cookie Policy.