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

[4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
A, 5181, i, X, h, J

[3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']
495, 3897, O, x, 2409, 6843, 3477, 5411

[1973, 'A', '7045', '2583', '4661', '8477', 'l', '1737', 'J', 'a', 'R', 'K', 'd', '4419', '2907', '5157', '7185', 'E', 'w', 845], [6341, 'i', 3553, 'g', 'K', 'K', 6649, 'p', 3279, 6389, 'K', 'E', 'V', 'j', '7045', '2583', '4661', '8477', 'l', '1737', 'J', 'a', 'R', 'K', 'd', '4419', '2907', '5157', '7185', 'Z', 447, 'G', 'Y', 'z', 6619, 'T', 3921, 3725, 4477, 891, 2725]
7045, 2583, 4661, 8477, l, 1737, J, a, R, K, d, 4419, 2907, 5157, 7185