In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5961, 'f', 'q', 4223, 6627, 7967, 'S', 'm', 6715, 'p', 'D', 7761, 'X', 'V', '8667', '9807', '251', 'T', '6933', 'O', '10023', '4607', 'l', 'Z', '7281', 'B', 'k', 'j', '4347', 'g', 'J', '7979', '3521', '9145', '6885', '6085', 'W', 9087, 'N', 'S', 'Z', 7023, 'N', 1957, 'V', 1163, 9887, 'L', 'z', 'u', 'x', 9121, 'f', 'D'], ['o', 'f', 3663, 7053, 'P', 'n', 'g', 'I', 'G', 'F', 'D', 'X', 'V', '8667', '9807', '251', 'T', '6933', 'O', '10023', '4607', 'l', 'Z', '7281', 'B', 'k', 'j', '4347', 'g', 'J', '7979', '3521', '9145', '6885', '6085', 'N', 'n', 'S', 8381, 8935, 'k', 'h', 3249, 5381, 7023, 'E', 4039, 'V', 7987, 'h', 4217, 'A', 6737, 't', 5305]