Australia beats Pakistan by 41 runs