#d2812. 互质
互质
Coprime
Problem Description
You are given a sequence of positive integers. Find every in that satisfies the following condition:
$$\gcd(A_i, k) = 1 \quad \text{for all } 1 \leq i \leq n$$Input Format
The first line contains two integers and .
The second line contains integers giving the sequence .
Output Format
The first line outputs the number of valid 's. Then each following line outputs one valid .
Sample Input
3 12
6 1 5
Sample Output
3
1
7
11
Constraints