Construct correct psuedo code for a smart contract

Contract details: The smart contract that you are going to make should mark a person as VIP when his balance is greater than or equal to 1000.
Click on the code blocks in the yellow area to add them to grey area(final solution area). Click on validate button on the bottom when you think that you're done.

If Block End(for receiver balance check)
Smart Contract Program End
If Block End(for transaction valid)
Mark the receiver as a VIP.
Add transaction amount to the receiver balance
Mark the receiver as a non-VIP.
Smart Contract Program Start
If receiver's balance is more than or equal to 1000:
If receiver's balance is less than 1000:
If Transaction Valid:


Click on a code block to add it here.