Pošljite SMS: Discrete inverse and state estimation problems