In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5335, 'a', 'x', 5797, 'X', 6313, 4265, 8329, 9791, 487, 's', 'O', 5381, 5171, 6539, 3955, 'n', 8009, 4789, 2959, 'j', 1671, 9271, 703, '7193', '9477', '9763', '7589', '6765', '6609', '485', 'i', '7025', 'O', 'N', '3711', 'J', 'U', 'g', 'P', 'B', '9301', 'f', 'W', 'L', '7781', '7857', 'V', 'V', 'V', '5623', '1795', 'd', 'z', 5485, 7981, 7521, 'o', 555, 7505, 'E', 'R', 'H', 10003, 'I', 8055, 7867, 8009, 'o'], [5283, 'N', 'H', 2521, 9639, 'I', 'I', 'h', 8973, 7435, 4303, 'w', 5603, 'c', 'R', 2211, 1801, 'O', 3421, '7193', '9477', '9763', '7589', '6765', '6609', '485', 'i', '7025', 'O', 'N', '3711', 'J', 'U', 'g', 'P', 'B', '9301', 'f', 'W', 'L', '7781', '7857', 'V', 'V', 'V', '5623', '1795', 'd', 'W', 8861, 9601, 'n', 'L', 7051, 6041, 8929, 'S', 3123, 'l', 'u']