



import io
import json
import subprocess


a_       :Dict				  =				[
    ["en", "ru"],
    ["ru", "en"],
    ["en", "de"],
    ["de", "en"],
]

a_       :Optional[Any]				  =				8
def 	lowercase_							(A			:			List[str]		, A			:			Dict				):
       snake_case__							:     List[str]            =     {}
       for src, tgt in pairs:
              snake_case__							:     Union[str, Any]            =     F'''{src}-{tgt}'''
              snake_case__							:     List[Any]            =     F'''sacrebleu -t wmt19 -l {pair} --echo src'''.split()
              snake_case__							:     List[str]            =     subprocess.run(A		, stdout=subprocess.PIPE				).stdout.decode('utf-8'				).splitlines()
              snake_case__							:     Union[str, Any]            =     F'''sacrebleu -t wmt19 -l {pair} --echo ref'''.split()
              snake_case__							:     str            =     subprocess.run(A		, stdout=subprocess.PIPE				).stdout.decode('utf-8'				).splitlines()
              snake_case__							:     Optional[int]            =     {'src': src_lines[:n_objs], 'tgt': tgt_lines[:n_objs]}
       return text


a_       :List[str]				  =				get_all_data(pairs, n_objs)
a_       :Union[str, Any]				  =				"./fsmt_val_data.json"
with io.open(filename, "w", encoding="utf-8") as f:
 a_       :Dict				  =				json.dump(text, f, indent=2, ensure_ascii=False)











def 	lowercase_							(A			:			int		, A			:			int				):
       return (input_a, input_a).count(0				) % 2
def 	lowercase_							():
       assert xor_gate(0		, 0				) == 0
       assert xor_gate(0		, 1				) == 1
       assert xor_gate(1		, 0				) == 1
       assert xor_gate(1		, 1				) == 0


if __name__ == "__main__":
 print(xor_gate(0, 0))
 print(xor_gate(0, 1))






