Input: When did in god we trust appear on coins?
Output: 

 When did in god we trust appear on the two-cent piece? 
 1864.