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

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: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]
Example Output: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193

Example Input: ['p', 6005, 'R', 3347, '5267', 'B', '7773', '4339', '7347', 'U', 'Q', 'F', '6399', 'j', '3453', 'P', 'U', 'x', 'Z', 493, 'l', 'y', 'd', 1033, 'T'], [9603, 3197, 'r', 'v', 'i', 'E', 'Q', 1155, 'b', '5267', 'B', '7773', '4339', '7347', 'U', 'Q', 'F', '6399', 'j', '3453', 'P', 'U', 'u', 'x', 4111, 2691, 989, 'c', 'R', 'p', 'G']
Example Output:
5267, B, 7773, 4339, 7347, U, Q, F, 6399, j, 3453, P, U