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

Example Input: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
Example Output: N, P, 9231, j, H, 5851

Example Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']
Example Output: v, 4045, F, O, N, k, 6013

Example Input: [325, 8489, 5361, 3811, 'r', 'z', 2757, 6547, 'o', 2625, 'q', 'K', 2615, 'L', 'W', 'l', 'W', 'E', 'w', 7897, 8329, '5747', 'd', '4845', '1533', 'I', '3603', 'U', '3145', '2985', 'V', 'm', '8361', 'B', 'k', '775', 'Y', 'r', 'V', '9573', '7553', 'T', 'G', 'R', 'I', 'A', 8147, 'O', 6339, 'z', 'S', 2773, 7849, 2997, 95], ['I', 'C', 'a', 'B', 3731, 'Z', 'h', 7835, '5747', 'd', '4845', '1533', 'I', '3603', 'U', '3145', '2985', 'V', 'm', '8361', 'B', 'k', '775', 'Y', 'r', 'V', '9573', '7553', 'T', 't', 5471, 943, 'V', 1697, 'N', 8551, 'l', 9107, 773, 'V', 6903, 'o', 6335, 'D', 2483, 3239, 2591]
Example Output:
5747, d, 4845, 1533, I, 3603, U, 3145, 2985, V, m, 8361, B, k, 775, Y, r, V, 9573, 7553, T