Added solution to ABChecker