hey is there any solution if there is no "."
if data is like below

M r HARRY
m r OLIVER
m r JACK
M r ALFIE
M r CHARLIE
M r THOMAS
M r JACOB
M r JAMES
m r JOSHUA
m r WILLIAM
M r ETHAN
M r GEORGE
M r RILEY
M r DANIEL
M r SAMUEL
m r NOAH
m r OSCAR
M r JOSEPH
M r MOHAMMED
M r MAX
M r DYLAN
M S Aaliyah
M S Aamanda
M S Aamani
M S Bailee
M S Baileigh
M S Bailey
M rS Eadda
M rs Eadmund
M rs Eadwine
m rs Edelburga
m rS Edeline
m rS Edeva
M S Edie
M S Gabbriel
M S Gabbriella
M S Gabby
M S Gabi
M S Gabrielle
M rS Gella
M rs Gemelle
M rs Gena
m rs Genee
m rS Genesiss
m rS Gabbriel
M S Jessica
M S Georgia
M S Emma
M S Olivia
M S Hannah
M S Grace
M rS Sarah
M rs Sophie
M rs Samantha
m rs Emily
m rS Caitlin
m rS Ella
M S Tayla
M S Brooke
M S Rebecca
M S Shania
M S Courtney
M S Kate
M rS Madison
M rs Charlotte
M rs Lucy
m rs Paige
m rS Jade
m rS Charlotte
M S Jamie
M S Sophia
M S Maia
M S Molly
M S Casey
M S Maria
M rS Rebekah
M rs Jessie
M rs Gabrielle
m rs Michelle
m rS Morgan
m rS Angel
M S Tegan
M S Tiana
M S Caitlyn
M S Renee
M S Julia
M S Madeleine
M rS Summer
M rs Kaitlyn
M rs Kelsey
m rs Tessa
m rS Alicia
m rS Jamie