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

Example Input: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]
Example Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n

Example Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
Example Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

Example Input: ['E', 4641, '1063', 'H', '6049', 'n', '4551', 'p', '4573', '8803', 'e', '3323', 'u', '7983', 'K', '8529', '4473', '2249', 'W', 'N', 'w', 't', 7769, 'e', 943, 'u'], [1051, 3929, 'y', 869, 'm', 's', 'k', 'X', 'z', 'z', 'q', '1063', 'H', '6049', 'n', '4551', 'p', '4573', '8803', 'e', '3323', 'u', '7983', 'K', '8529', '4473', '2249', 'W', 'z', 'Q', 4219, 'G', 6539, 9827, 'p', 'T', 8595, 'y', 9565, 'X', 'T', 6913, 3805, 'M', 2015]
Example Output:
1063, H, 6049, n, 4551, p, 4573, 8803, e, 3323, u, 7983, K, 8529, 4473, 2249, W