In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7919, 3651, 4879, 6109, 4473, 2987, 2353, 3831, 6435, 'o', 6579, 'X', 207, 'x', 6735, 'i', 9715, '3997', '4055', '7371', '2465', 'q', 'A', 'J', '9867', '9589', '9061', '7001', '7685', '9593', '8291', '4409', '3661', '8293', 'l', 'x', '9763', 'I', '2049', '7', '1281', '7851', 'O', 'V', 'm', 5361, 'P', 5953, 'y', 'U', 'J', 845], ['X', 8171, 6233, 2991, 1789, 8481, 'N', '3997', '4055', '7371', '2465', 'q', 'A', 'J', '9867', '9589', '9061', '7001', '7685', '9593', '8291', '4409', '3661', '8293', 'l', 'x', '9763', 'I', '2049', '7', '1281', '7851', 'O', 'K', 'Y', 305, 'r', 2763, 'j', 9327, 2767, 'l', 7121, 'K', 'F', 'b', 7841, 'r', 'q', 5881, 7459, 't', 653, 'V', 5807, 7053, 'e', 7499]