In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1097, 'A', 'J', 'y', 'f', 1021, 7453, 'a', 'a', 'i', 'r', 'j', 2649, '7369', 'w', 'm', '6403', 'M', '849', '2843', '2449', 'v', 'F', '691', 'E', '7155', 'n', 'e', '6907', '4879', '9245', 'H', '5719', '4553', 'R', '6219', 'M', '9967', 'W', 'G', '7095', 'Y', 'w', 1599, 7495, 9443, 'y', 8293, 1351, 'H', 'U', 'w'], ['l', 'O', 'o', 2959, 't', 'X', 1473, '7369', 'w', 'm', '6403', 'M', '849', '2843', '2449', 'v', 'F', '691', 'E', '7155', 'n', 'e', '6907', '4879', '9245', 'H', '5719', '4553', 'R', '6219', 'M', '9967', 'W', 'G', '7095', 'P', 7213, 'g', 6155]