You are given two arrays a and b, each consisting of n integers. Your task is to calculate a very simple sum: ∑_1≤x≤n∑_1≤y≤n∑_1≤z≤n∑_1≤w≤n(a_x+a_y+a_z+a_w)(b_x⊕b_y⊕b_z⊕b_w)mod998244353
First line contains a single integer n --- the number of elements in arrays a and b.
Second line contains n space-separated integers a_i --- the elements of the array a.
Third line contains n space-separated integers b_i --- the elements of the array b.
Output a single integer --- the value of the very simple sum.