Added solution for 18