In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Q: ['Q', 'I', 't', 'b', 9175, 2827, 'P', 'v', 8293, 'c', 1863, 'J', 's', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'i', 9597, 4909, 'J'], ['S', 'a', 9123, 'I', 'F', 'z', 3481, 4235, 'X', 'I', 6447, 6365, 'T', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'Q', 'R', 'W', 'm', 719, 'A', 'h', 3093, 'O', 8221, 9879, 'W', 6953, 8729, 2853, 3651, 'X', 2079, 4499, 'Q', 7143]

A: 6749, 5147, e, O, 8605, 613, 7647, 5691, v, 2303, 7061, 1091, 8563, T, 511, U, 8991, 231, f, 8793, 2147, 6075, p
****
Q: ['l', 8387, '6019', 'r', 't', 'Y'], ['S', 'q', '6019', 'r', 'Z', 9863]

A: 6019, r
****
Q: [3025, 'h', 'E', 2317, 4705, 'P', '323', '7323', 'O', '1759', 'u', 'b', 'U', '3585', 'w', 'I', '187', 't', 'g', 'p', 'B', 7613, 7425, 'b', 6749, 'F'], ['a', 'g', '323', '7323', 'O', '1759', 'u', 'b', 'U', '3585', 'w', 'I', '187', 't', 'u', 5955, 3349, 'j', 'Z', 1417, 'A', 75, 'T']

A:
323, 7323, O, 1759, u, b, U, 3585, w, I, 187, t
****