In how many ways can you arrange 7 distinct books on a shelf such that no two specific books, say Book A and Book B, are adjacent to each other? Let's think step by step and output the final answer within \boxed{}.
user