DDeloitte | COGNIZANT | IBM | CAPGEMINIs=input() k=input() ans="" for i in range(len(s)): if k[i]=='1': ans+=s[i] print(ans) 822 · 11:50