Implement print calculation