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

Input: Consider Input: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']

Output: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q


Input: Consider Input: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']

Output: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I


Input: Consider Input: ['h', 'u', 671, 'C', 'V', 'M', 'n', 'U', 'O'], [6151, 3235, 'S', 'Y', 'C', 'V', 'M', 'n', 'p', 5355]


Output: C, V, M, n