Whoever knowingly and fraudulently demands or endeavors to obtain any share or sum in the public stocks of the United States, or to have any part thereof transferred, assigned, sold, or conveyed, or to have any annuity, dividend, pension, wages, gratuity, or other debt due from the United States, or any part thereof, received, or paid by virtue of any false, forged, or counterfeited power of attorney, authority, or instrument, shall be fined under this title or imprisoned not more than five years, or both; but if the sum or value so obtained or attempted to be obtained does not exceed $1,000, he shall be fined under this title or imprisoned not more than one year, or both.