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

Example Input: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]
Example Output: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R

Example Input: ['G', 9195, 'n', 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'j', 'd', 'L'], ['y', 'I', 8025, 5165, 4825, 'L', 'A', 10001, 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'E', 'b']
Example Output: x, A, 3777, d, K, W, 1911, 93, 5157

Example Input: ['B', 'D', 'x', 's', 3243, 'C', 3871, 567, 'R', 7863, 'N', 6665, '1013', '7629', '4219', 'f', '8397', '6085', 's', '4009', '1249', '9231', 'x', 'B', '4875', 'b', 'J', 'W', '6491', 'A', 8385, 4165, 'a', 9907, 'W', 9439, 'T'], [6947, 'P', 2261, 'F', 4969, 2341, 4031, 247, 1287, '1013', '7629', '4219', 'f', '8397', '6085', 's', '4009', '1249', '9231', 'x', 'B', '4875', 'b', 'J', 'W', '6491', 'S', 'L', 'B', 9727, 'W', 'o', 'y', 8819, 'u', 967, 'h', 'I']
Example Output:
1013, 7629, 4219, f, 8397, 6085, s, 4009, 1249, 9231, x, B, 4875, b, J, W, 6491