first_num = int(input())
second_num = int(input())
print('Before:')
print(f'a = {first_num}')
print(f'b = {second_num}')
c = first_num
second_num = first_num
c = second_num

print('After:')
print(f'a = {first_num}')
print(f'b = {second_num}')
