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

Example Input: ['E', 'e', 'C', 'k', 5673, 2461, 'd', 'g', '1699', '8221', 'a', 'L', 'h', 'u', 'c', '2485', 'D', '5387', 'O', 'H', 'R', '6189', '539', 'T', 'J', '5461', '3691', 'd', '3389', '8315', 'Z', 'b', '5401', 'g', 7959, 9915, 9195, 8581], ['I', 'r', 'P', 'v', 'd', 'g', '1699', '8221', 'a', 'L', 'h', 'u', 'c', '2485', 'D', '5387', 'O', 'H', 'R', '6189', '539', 'T', 'J', '5461', '3691', 'd', '3389', '8315', 'Z', 'b', '5401', 'S', 't', 2069, 1067, 9577, 6283, 1527, 'l', 'X', 'L', 5625, 9857, 8631, 'S', 'e']
Example Output: d, g, 1699, 8221, a, L, h, u, c, 2485, D, 5387, O, H, R, 6189, 539, T, J, 5461, 3691, d, 3389, 8315, Z, b, 5401

Example Input: ['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']
Example Output: 395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179

Example Input: ['z', 9175, 3643, 5069, '2877', '6771', 'E', '7203', 'k', 8257, 4261], [7389, 'O', '2877', '6771', 'E', '7203', 'r', 7265, 6271, 8199]
Example Output:
2877, 6771, E, 7203