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

Example Input: [1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]
Example Output: 9043, 2335, 5029, f, b, 7547, 4275, R, H

Example Input: ['A', 'Y', 'B', 5539, 'i', 'u', 3953, 7153, '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'F', 'i', 4673, 5277, 2169, 'v'], [7917, 'p', 'K', 'D', 'S', 'U', 'w', '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'd', 8111, 'Q', 'b', 7059, 'L', 'u', 5107]
Example Output: 3019, 4737, Q, Z, 223, 7501, 1205, u

Example Input: ['l', 3601, 'Q', 'N', 'J', 7683, 'L', 'u', 2353, 1945, 3147, 3781, 'A', 3765, 'U', 'b', 'O', 3205, 'w', '5107', '4989', '8855', 'p', '6591', '9167', '7321', 'Q', 'G', 'u', '8105', 'j', '7071', 'n', 't', 'f', 'l', 'h', '7183', 'Z', '5853', '8399', 'Z', '6969', '5457', 'p', 'R', '2905', 's', 'b', 'U', 's', 1583, 'g', 'S', 'V', 'f', 9341, 'Q', 'f'], ['D', 6133, 4029, 'D', 4725, 'y', 'Y', 'B', 'R', 8835, 'T', 8481, 'S', 'G', 8223, 4117, 'h', 'l', 'd', '5107', '4989', '8855', 'p', '6591', '9167', '7321', 'Q', 'G', 'u', '8105', 'j', '7071', 'n', 't', 'f', 'l', 'h', '7183', 'Z', '5853', '8399', 'Z', '6969', '5457', 'p', 'R', '2905', 's', 'v', 'M', 5971, 1089, 9263, 'k', 'q', 'D', 'x', 2925, 7027, 6461, 6025, 'Y', 'Z', 'n', 6631, 'C', 'z', 7575, 2773, 'z', 5973, 2845, 9729, 4711, 721, 'L']
Example Output:
5107, 4989, 8855, p, 6591, 9167, 7321, Q, G, u, 8105, j, 7071, n, t, f, l, h, 7183, Z, 5853, 8399, Z, 6969, 5457, p, R, 2905, s