Beginning and ending Cash account balances of Moonbeam, Inc. were $38,000 and $16,000, respectively. If total cash received during the period was $74,000, what amount of cash was paid out during the period?