You are given an array a_1,a_2,…,a_n of n nonnegative integers. For each k from 1 to n, find the number of subsequences of size k (a_i_1,a_i_2,…,a_i_k; 1≤i_1<…<i_k≤n) such that their bitwise AND is equal to zero (a_i_1∧a_i_2∧…∧a_i_k=0). Since the answers can be very large, compute them modulo 998,244,353.
Two subsequences are considered distinct if there is an index i such that the element a_i is included in one of the subsequences but not the other.
The first line contains an integer n (1≤n≤219). The second line contains n integers a_1,a_2,…,a_n (0≤a_i<219).
Print n space-separated integers b_1,b_2,…,b_n, where b_i is the answer for k=i modulo 998,244,353.