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

['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
5747, i, M

[7667, 5143, 'T', 'E', 'T', 'q', 'Q', 'i', 'c', 'A', 7503, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 't', 'B'], ['M', 'S', 'J', 7313, 2291, 'e', 'T', 's', 'Q', 9505, 2219, 7845, 'K', 2339, 2553, 6137, 'j', 's', 6735, 7595, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 'M', 'v', 'B', 8189, 4919, 9041, 4579, 'V']
3605, c, c, 9759, 4535, 2651, M, f, m, 1859, 1089, 8417, 6247, B, 167, 2481, 5505, r, 7913, L, 9891, Z, 9983

['B', 2837, 'd', '8493', 'o', 'U', 'w', 'F', 'C', '7003', 'V', 'D', 'p', 4523, 'U', 8823], ['P', 1571, 2611, 'U', 'e', 'C', 'w', 'd', '8493', 'o', 'U', 'w', 'F', 'C', '7003', 'E', 6457, 5715, 3131, 'h', 'C']

d, 8493, o, U, w, F, C, 7003