When you want to get multiple variables at once, check out this way! Using input() and split(), you could make it easily. :)
A, B = input().split print(A) # 3 5 (input values) # 3 (printing A)