Yay, It works! Nice puzzle. Quite hard to guess the correct orbit for maximum profit, but entertaining!
Thanks! I am glad it worked out for you.