Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 7319, 9017, 'J', 8707, 'u', 'E', 223, 'A', 'c', 't', 5911, 7201, 4779, 8221, 'm', '1389', 'y', 'r', 'h', '1171', 'A', '5845', 'v', '3069', '4835', 'u', '1017', 'c', '8515', '2025', 'U', '2161', 'd', 1199, 'o', 9005, 6271, 5293, 'O', 'Y', 'o', 'f', 4229, 'P', 's', 'e', 7529, 3209], ['r', 'B', '1389', 'y', 'r', 'h', '1171', 'A', '5845', 'v', '3069', '4835', 'u', '1017', 'c', '8515', '2025', 'U', '2161', 'b', 'q', 2703, 'Y', 9109, 4649, 1531, 'a', 2481, 1481, 'S', 'B', 5895, 6113, 4261, 5015, 5673]
A:
1389, y, r, h, 1171, A, 5845, v, 3069, 4835, u, 1017, c, 8515, 2025, U, 2161