设六三班捐了x元,则六五班捐了(560-X)元
1/7x+(560-x)*1/8=76
1/7x+70-1/8x=76
1/7x-1/8x=76-70
1/56x=6
x=6*56
x=336
答:六三班捐了336元