ACCENTURE | COGNIZANT | IBM | CAPGEMINI
الذهاب إلى القناة على Telegram
إظهار المزيد
7 352
المشتركون
-224 ساعات
-217 أيام
-10630 أيام
أرشيف المشاركات
s=input()
k=input()
ans=""
for i in range(len(s)):
if k[i]=='1':
ans+=s[i]
print(ans)
n,k=map(int,input().split())
ans=(k%n)
if ans==0:
ans=n
print(ans+1)
#Radhika_code
#deloitte
import math
n=int(input())
print(math.factorial(n))
#factorial_code
#deloitte
