Wendy was awarded a volleyball scholarship to the University of Michigan, so on graduation her parents gave her the $22000 they had saved for her college tuition. She opted to invest some money in a privately held company that pays 10% per year and evenly split the remaining money between a money market account yielding 2% and a high-risk stock that yielded 40%. At the end of the first year she had $26510 total. How much did she invest in each of the three?