In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [9993, 'T', 2911, 8677, 8093, 'Q', 6737, 1833, 8205, 'j', 'L', 2959, 'r', 'k', '747', '2575', 'l', 'f', '1073', 'U', '6905', 'j', '6297', '5253', '3901', 'r', '9501', '909', 'q', '6237', 'q', 'J'], [4961, 347, 8209, 'z', 1991, 'O', 6371, 5835, 'b', 'Z', 'z', 2661, 2649, 'O', 1055, 'a', 'q', 'k', 'r', 'k', '747', '2575', 'l', 'f', '1073', 'U', '6905', 'j', '6297', '5253', '3901', 'r', '9501', '909', 'q', '6237', 'c', 'v', 'v', 'P', 'f']
A:
r, k, 747, 2575, l, f, 1073, U, 6905, j, 6297, 5253, 3901, r, 9501, 909, q, 6237