In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8495, 'H', 1935, 'Z', 'd', 4509, 'a', 5225, 9009, 'm', 'B', 's', 'H', 553, 1899, 'e', 5239, 9357, '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'W', 8889, 'w', 'x', 'W', 'N', 'L', 703, 'v', 'L', 'A', 'z', 'J', 6407, 9779, 8049, 'u', 'u', 271, 'x', 6175, 433, 'C', 'a', 4817], [787, 'j', 'T', '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'L', 'M', 'D', 'W', 3667, 'O', 'D', 1233, 'X', 3483, 'g', 779, 2951, 9855, 'J', 6069, 2303, 245, 5151, 'O', 'K']