Answer:
1. there are 0 4s in 0 so the first one is 0
2. you can not reach to 8 with 0s, so the answer is undefined