Factoring RSA number knowing some B-smooth numbers
You probably know the algorithms to multiply and divide numbers by hand; that's what you do. Yes, it will be painful. No, there's no other way, but I don't think you will be expected to do it in an exam (confirm that with your instructor, however).