Any modern PC can handle basic tasks such as streaming videos and browsing the web, or else they would not sell.
I believe both the ones you listed can handle Minecraft, assuming you play an unmodded one. If you're modding it with ray tracing and other graphically intensive mods, then probably not.