calculate prize