Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [8063, 'e', 'H', 6701, '8563', '7627', 'z', '5791', '9965', 'U', '211', '9087', 'C', 'O', '8743', '8005', 'c', 2649, 9767, 3387, 'K', 's', 5129, 'l', 1125, 41, 's', 'H'], ['C', 6129, 8627, 'J', 'J', 6613, 4909, 9353, 10015, '8563', '7627', 'z', '5791', '9965', 'U', '211', '9087', 'C', 'O', '8743', '8005', 'p', 4109, 751]
A:
8563, 7627, z, 5791, 9965, U, 211, 9087, C, O, 8743, 8005