Let S={A=(a1,…,as)∣ai=0 or 1,i=1,…,8}. For any 2 elements of S, A={a1,…,a8} and B={b1,…,b8}. Let d(A,B)=∑i=18∣ai−bi∣. Call d(A,B) the distance between A and B. At most how many elements can S have such that the distance between any 2 sets is at least 5?