(port-map(^s(print(if(#/(\S+) (?!\S*\1)/s)'NO'YES)))read-line)