In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1605, 'g', 7165, 'g', 1227, 'j', 5593, 6829, 'k', 5883, 'B', 5097, 4955, 'Z', 'q', 3167, 5345, 349, 7513, 'r', 'J', 'A', 4359, '6079', 'O', '5445', '7459', 'o', '6045', '3755', '6549', '9573', 'g', '3771', 'W', '905', '1909', 'H', 's', 'q', '4369', 'L', '6657', 'g', '9669', '4023', 'h', 'D', 7019, 2265, 'o', 'I', 't', 'u', 'j', 'H', 'Y', 5033, 7351, 'S', 'V', 4621, 'A', 'U', 6307, 'e', 2197, 'L', 8167, 1279], [3955, 'Q', 'Q', 2529, 5719, 'Z', 8575, 'I', 7469, 'f', 'D', 'M', 'V', 5221, 2067, 7235, 8315, 9341, 'q', 7789, 'q', 'B', 8877, 'J', '6079', 'O', '5445', '7459', 'o', '6045', '3755', '6549', '9573', 'g', '3771', 'W', '905', '1909', 'H', 's', 'q', '4369', 'L', '6657', 'g', '9669', '4023', 'h', 'l', 'H', 'J']