Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[3953, 8903, 'Q', 'B', 'O', 3123], ['s', 8673, 'Q', 'B', 'a', 6449]

Q, B