How many days in Myanmar and Laos?

Hello everyone. I am planning a trip to Myanmar and Laos and I'd like to have some insight on how many days should I stay in each country. I have a maximum of 30 days for each but I am a little afraid it turns out to be too much time.

Thanks a lot!