In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'I', 3107, 'N', 3007, 7847, 'v', 'O', 5645, 'd', 'V', 3183, 7671, 'S', 1949, 'W', 'E', 6367, 1863, 1231, 'v', 'T', 1145, '213', '461', 'q', 'a', '6165', '4003', '5871', '121', 'a', '5999', '5189', 'M', '3569', 'E', '3051', 'T', '3063', 'a', 'e', '5063', 'G', 'p', 's', '4157', '6435', 'l', 935, 9607, 'p', 'u', 4799, 2793, 'o', 8769, 1081, 8059, 1481, 'o', 4457, 2167, 'w', 7291, 1015, 'z', 1277], [4401, 'j', 5617, 'X', 'B', 'a', '213', '461', 'q', 'a', '6165', '4003', '5871', '121', 'a', '5999', '5189', 'M', '3569', 'E', '3051', 'T', '3063', 'a', 'e', '5063', 'G', 'p', 's', '4157', '6435', 'a', 9543, 6649, 'r', 5897, 7897, 6345, 'k', 1899, 'M', 7179, 'M', 6781, 'w', 6229, 'k']