Two persons S and M have made the following statements among themselves.
S says that I am certainly not over 40 years.
M says that I am 38 years and you are at least 5 year old than me.
S says you are at least 39 years.
If all the above statements are wrong, what are the ages of M and S?