Jack did 3/5 of all problems on his weekend homework before Sunday. On Sunday he solved 1/3 of what was left and the last 4 problems. How many problems were assigned for the weekend?