John is 8 years old because 18-10=<<18-10=8>>8 years old.
Their parents are currently 40 years old because 8*5=<<8*5=40>>40.
Therefore, they were 22 when Mark was born because 40-18 = <<40-18=22>>22 years old.
#### 22