Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7897, 4495, 'N', 7027, 339, 'c', 6415, 1781, 9521, '4855', '9301', '9023', '2987', 'Y', '9325', 'U', 'L', 'k', '8255', 'C', '4985', 'A', '8247', 'Y', 'y', '6565', 'Z', 'u', '8567', '5689', 'X', 'w', '4797', 'J', 5359, 'M', 'X', 'd', 's', 9467, 'D', 'I', 'e', 's', 'M', 'P', 155, 6301, 'K', 5657, 6909, 27, 8807, 6441, 4745, 8539], [9521, 3047, 3375, 5509, '4855', '9301', '9023', '2987', 'Y', '9325', 'U', 'L', 'k', '8255', 'C', '4985', 'A', '8247', 'Y', 'y', '6565', 'Z', 'u', '8567', '5689', 'X', 'w', '4797', 'f', 6875, 7479, 'V', 7593, 323, 6379, 'T', 1985, 'L', 8599, 1129, 'P', 'q', 'P', 'd', 'f', 'E', 7677, 'y', 8939, 'n', 7603, 'Y']
A:
4855, 9301, 9023, 2987, Y, 9325, U, L, k, 8255, C, 4985, A, 8247, Y, y, 6565, Z, u, 8567, 5689, X, w, 4797