2 lines
125 B
Python
2 lines
125 B
Python
print(set(s:=sorted(map(lambda x:int(''.join(map(lambda y:'01'[int(y in'BR')],x)),2)//2,open(0))))^set(range(s[0],s[-1]+1)))
|