In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3865, 'b', 'n', 6359, 4535, 'd', 4577, 67, 'h', 9427, 6817, 'Y', 'M', 'I', 1253, 5281, 5477, 'K', 1573, 7653, '2067', 'Q', 'E', '4737', '3017', 'B', '293', 'J', '1019', '3533', '4561', 'Y', '6043', '3337', 'q', '8821', 'i', 'Q', 'M', 'b', 'q', 7975, 9119, 4463, 6577, 'V', 5905, 7959, 'A', 'W', 'S', 6717, 9005, 5631, 5097, 'z', 1471, 'k', 'B'], [5095, 1299, 'f', 'E', 6847, 'Y', 'I', 'O', 919, 'O', 6631, 3511, 'v', 'o', 9481, 7471, 8325, '2067', 'Q', 'E', '4737', '3017', 'B', '293', 'J', '1019', '3533', '4561', 'Y', '6043', '3337', 'q', '8821', 'i', 'Q', 'M', 'b', 'j', 'A', 3065, 8465, 'N', 6507, 'I', 7329, 5035, 's', 2131, 'n', 9439, 671, 53, 9367, 703]