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

Example Input: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']
Example Output: B, E, p, K

Example Input: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]
Example Output: 5961, 133, Q, V, 7547, 899, 6027, 439

Example Input: [9305, 'z', 'I', 'a', 'R', 'c', 'e', '319', 'f', 'E', '9719', 'J', '7761', '2035', '4645', '5429', 's', '493', 'L', 'O', 'b', '3469', '5479', '8407', '3953', '577', '8671', 'o', 3111, 'm', 'Y', 'L', 5333, 'K', 't', 8273, 'O', 291, 'r', 'q', 2309, 'l', 'U', 'k'], [1393, 7251, 585, 5275, 'D', 6537, 'l', 't', 'H', 843, 's', 8299, 2103, 3133, 'G', 2901, 8357, 7799, 'd', 'e', '319', 'f', 'E', '9719', 'J', '7761', '2035', '4645', '5429', 's', '493', 'L', 'O', 'b', '3469', '5479', '8407', '3953', '577', '8671', 'D', 6079, 'e', 3583, 295, 4087, 'D', 'Q', 5875, 9599, 'w', 6843, 'T']
Example Output:
e, 319, f, E, 9719, J, 7761, 2035, 4645, 5429, s, 493, L, O, b, 3469, 5479, 8407, 3953, 577, 8671