Find the most frequent word in a sentence.
Read a single line of text. Print the most frequently occurring word (lowercase, alphabetic only).
If multiple words tie, print the one appearing first.
Test input: the quick brown fox jumps over the lazy dog the fox
Expected output: the
Sign in to save your code and track progress across devices.