Microsoft Interview Question

Q. Change aaaabbb to a4b3 using no extra space? Q. Some fairly simple implementation base questions.