A simple python program to rob courses that you expect to get