Two workers A and B are engaged to do a piece of work. Working alone. A takes 8 hours more to complete the work then if both worked together. On the other hand, working alone, B would need 412 hours more to complete the work then if both worked together. How much time would they take to complete the job working together ?