Friction does is not the problem in perpetual motion. Indeed, friction stops all perpetual motion, however if you could create a perfect system...
Separate names with a comma.