Logic riddle | AbS