 In the third part of the study, Phase 2, patients with acute myeloid leukemia AML or advanced MDS will receive the best dose of study drug and schedule determined from the first part of the study and will be followed to see what side effects the study drug causes and to see what effectiveness it has, if any, in treating the cancer. Approximately 40 patients from the US will be enrolled in Part 3 Withdrawn. 