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

Example Input: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]
Example Output: X, 5537, 3209, 4831, R, 2093, U

Example Input: [4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']
Example Output: o, d, D, M, P, 3119, s, 9507

Example Input: [2893, 6961, 9319, 2833, 'Q', 5823, 6263, 'R', 7803, 8275, 'N', 9119, 5885, 'I', 'h', 7249, 'M', 7189, 'R', 'Q', 'a', 'l', 'B', 7821, 6139, 'F', 191, 'W', '5975', '5419', 'z', 'F', '645', '7903', 'K', '2105', '8469', '9383', 'd', 'o', 'c', 'B', '2747', '5035', '2363', 'q', '7027', '1635', '3145', '2903', 'x', '7437', '5523', '2827', '8437', 'Q', '7839', 'T', 'a', 6465, 'a', 'i', 'X', 187, 'f', 'e', 'D', 8103, 'd'], ['V', 'p', 'J', '5975', '5419', 'z', 'F', '645', '7903', 'K', '2105', '8469', '9383', 'd', 'o', 'c', 'B', '2747', '5035', '2363', 'q', '7027', '1635', '3145', '2903', 'x', '7437', '5523', '2827', '8437', 'Q', '7839', 'm', 'C', 4117, 959, 'E', 2019, 'g', 'd']
Example Output:
5975, 5419, z, F, 645, 7903, K, 2105, 8469, 9383, d, o, c, B, 2747, 5035, 2363, q, 7027, 1635, 3145, 2903, x, 7437, 5523, 2827, 8437, Q, 7839