Take number 1000 and then add 20 to it.
Now add 1000 one more time.
Now add 30.
Now add 1000 one more time.
Now add 40.
Now add 1000 one more time.
Now add 10.
In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.
Can you identify the rule that the glass pane is following?