In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 4023, 'f', 'L', 'c', 'h', 'G', 8503, 'c', 5027, 'F', 'p', 3781, 'E', 'I', 9795, 'V', 1265, 'd', 'G', 7031, 5467, 1941, 1131, '5473', '567', '2979', 'C', '9377', 'I', 'U', '5785', '429', '9765', 'e', '1641', 'I', 'B', 'C', 'I', 'k', 'H', 'n', 'f', 'g', 'Y', 'h', 'K', '5433', '4493', 'U', '2399', '4935', 'o', 'q', 'M', 'n', 'G', 'f', 9379, 4811, 8049, 9573, 'U', 1365, 'o', 'a', 4579, 7401, 9621, 'P', 2515, 1665, 'I', 5939], [6129, 'b', 'j', 'h', '5473', '567', '2979', 'C', '9377', 'I', 'U', '5785', '429', '9765', 'e', '1641', 'I', 'B', 'C', 'I', 'k', 'H', 'n', 'f', 'g', 'Y', 'h', 'K', '5433', '4493', 'U', '2399', '4935', 'o', 'Z', 3129, 8893, 4985, 345, 9963, 'T', 'x', 'a', 1943, 3249, 'C', 'v', 'Z', 't', 'g', 'R', 5257, 8935, 847, 2743, 'p', 5035, 'F', 9909, 'q', 4355]