problem:CHN15A Problem - CodeChef
Solution:CodeChef: Practical coding for everyone
try:
t = int(input())
c=0
for start in range(t):
n, k = map(int, input().split())
x = list(map(int, input().split()))
for first in x:
if ((first+k)%7==0):
c+=1
print (c)
except:
pass