Ad
  • Custom User Avatar

    You have 4 $25 bills after 4 transactions.

    Fifth:
    Get $50 bill, give one $25 bill back.
    You have 1 $50 bill, 3 $25 bills.

    Sixth:
    Get $100 bill, give one $50 bill and 2 $25 bills back.
    You have 1 $100 bill, 1 $25 bill left.

    Seventh:
    Get $50 bill, give one $25 bill back.
    You have 1 $100 bill, 1 $50 bill left.

    So you should return "YES".