NZEC error in python 3

Get NZEC error while executing this code.
tried on other IDE’s and it runs perfectly fine.
def main():
a=int(input())
b=int(input())
c=1
d=0
if b%10==1:
print(‘0’)
else:
while c<b/2:
c=f©
if b%c==0:
d=d+1
print(d)
def f©:
c=c*2
return c
main()

Provide a solution link instead of pasting your code (https://www.codechef.com/viewsolution/24820661 in your case) or just indent it properly. Explain what you have done briefly.

I found 2 things wrong with your latest submission.

  1. line 2 has n, q = input().split() but n and q have not been converted to int. You did convert the lists b and c ( you have done this part correctly in previous submissions ).
  2. The lists b and c should only be read once instead of in every query.

modified, accepted solution

The link to this code is
https://www.codechef.com/viewsolution/24975293
I tried custom input and it was running fine