Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 4313, 1091, 's', 'T', 'Y', 'J', 715, 'O', 9685, 2843, 'X', '8235', '331', '4045', 'm', '3207', '7117', 'S', 'b', 'v', '2041', '9841', '2763', '8099', '2825', '5989', 'l', 'B', '5191', '1089', '9559', 'w', 'O', 927, 3639, 'W', 'g', 'C', 'l', 8459, 503, 7487, 5993, 9521, 'K', 'O', 'a', 'k'], [463, 1613, 153, 'B', 1881, 'H', 8021, 'b', 2995, 2771, 'C', 2247, '8235', '331', '4045', 'm', '3207', '7117', 'S', 'b', 'v', '2041', '9841', '2763', '8099', '2825', '5989', 'l', 'B', '5191', '1089', '9559', 'w', 'w', 4789, 779, 1815, 677, 89, 5159, 'q', 'T', 2027, 7967, 'K', 43, 'n', 'o', 3375, 6901, 'M']
A:
8235, 331, 4045, m, 3207, 7117, S, b, v, 2041, 9841, 2763, 8099, 2825, 5989, l, B, 5191, 1089, 9559, w