In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3841, 9283, 9559, 431, 5451, 429, 'Y', 4317, 6445, 'J', 'B', 'Z', '3165', '7431', 'y', '7663', '5613', '7907', '3897', '3757', 'X', 'K', 'N', 'h', 'U', '3925', 'j', 'E', 1337, 9561, 4569, 1111], [7749, 'h', 459, 'n', 'j', 973, 1427, 2103, 'U', 3453, 9225, 'q', 'S', 4519, 2785, 'B', 'Z', '3165', '7431', 'y', '7663', '5613', '7907', '3897', '3757', 'X', 'K', 'N', 'h', 'U', '3925', 'i', 'B', 'N', 2255, 4007, 7597, 7289, 2153, 1861, 163, 6957, 'x', 751, 2267]