
def get_income_tax():
    amount_in_slab = [int(x) for x in input().split(' ')]
    percent_for_slab = [int(x) for x in input().split(' ')]
    prev_amount = 0 , prev_percent = 0
    slabs = []
    for i in range(len(amount_in_slab)):
        slabs.append((prev_amount,amount_in_slab[i],prev_percent))
        prev_amount = amount_in_slab[i]
        prev_percent = percent_for_slab[i]

e0b30f3983e4c0795af749add78f8303c39f33eb

def get_income_tax():
    amount_in_slab = [int(x) for x in input().split(' ')]
    percent_for_slab = [int(x) for x in input().split(' ')]
    prev_amount = 0 , prev_percent = 0
    slabs = []
    for i in range(len(amount_in_slab)):
        slabs.append((prev_amount,amount_in_slab[i],prev_percent))
        prev_amount = amount_in_slab[i]
        prev_percent = percent_for_slab[i]
