Skip to content

Instantly share code, notes, and snippets.

@IKKO-Ohta
Last active July 5, 2017 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IKKO-Ohta/7b7eff5009e65656b738ccb0d84dda44 to your computer and use it in GitHub Desktop.
Save IKKO-Ohta/7b7eff5009e65656b738ccb0d84dda44 to your computer and use it in GitHub Desktop.
N = int(input())
T = [int(x) for x in input().split()]
ans = set()
if __name__ == '__main__':
for i in range(N):
while(T[i] % 2 == 0): T[i] = T[i] // 2
ans.add(T[i])
print(len(ans))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment