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

Example Input: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
Example Output: A, g, 6735, 6737, 6929, 3051, v, 1223, 497

Example Input: ['q', 'm', 6141, 3531, 7325, 6995, 523, 'o', '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'v', 7873, 'Q', 6365, 7655, 'C', 'O', 'f', 'Y', 1873, 5445, 7655, 2433, 'X', 1025, 'm', 6499, 'c', 'W', 'S'], ['M', 9393, 'M', 'Z', 7735, 519, '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'C', 8319, 649, 'w', 'G', 3879, 2781, 'L', 'S']
Example Output: 4461, 8613, W, V, 3673, z, W, 507, 201, i, 881, M, o, 8623, 5931, 8651, 7165, d, r, 9659

Example Input: ['G', 8593, 6069, 5677, 'n', 'G', 't', 'n', 'Z', 'E', 'U', 'c', 'l', 'D', '2611', '39', 'D', 'W', '689', 'D', '2631', 'R', 'H', 'U', '2143', 'L', 6603, 'Q'], ['B', 'K', 6633, 'l', 'D', '2611', '39', 'D', 'W', '689', 'D', '2631', 'R', 'H', 'U', '2143', 't', 'U', 8995, 9181, 1243, 'p']
Example Output:
l, D, 2611, 39, D, W, 689, D, 2631, R, H, U, 2143