In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'l', 's', 4591, '6331', '1953', '4223', 'u', '5605', 'a', '9189', '2327', '10031', '7055', 'V', 'B', 'm', 'B', '1039', 'n', 'i', 'v', '6365', 'B', 'y', 'T', '6945', '9099', 'S', 'E', 't', 'k', 7497, 2285, 'S', 'B', 5253, 3393, 'h', 'd', 557, 365, 'k', 'y', 'L'], ['F', 's', 'a', '6331', '1953', '4223', 'u', '5605', 'a', '9189', '2327', '10031', '7055', 'V', 'B', 'm', 'B', '1039', 'n', 'i', 'v', '6365', 'B', 'y', 'T', '6945', '9099', 'c', 9367, 'h', 9265, 'B', 'z', 'w', 365, 'Y', 5299]