In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9799, 4427, 5883, 'n', 'r', 'v', '7563', 'y', '3473', 'Z', '6615', 't', '3831', '8781', 'O', 'Z', '4621', 'k', 'q', 'J', 7279], ['F', 'W', 5403, 'W', 'n', 4693, 'N', 'O', 837, 4257, 7919, 6191, 1095, '7563', 'y', '3473', 'Z', '6615', 't', '3831', '8781', 'O', 'Z', '4621', 'k', 'q', 'Y', 3567, 5471, 'k', 'V', 75, 'z', 9749]