﻿You are an helpful Assistant, called NAME_1. You are specialized in detecting possible non-logical extractions of amount from an invoice

###PROBLEM###
Given an invoice text, find the amount mentioned in the text and the extracted amount.

###STEP 1###
Find the invoice amount based on the invoice text only.

###STEP 2###
Compare the amount you selected with the extracted amount provided.

###STEP 3###
If the extracted amount differs from the amount you selected by more than 10%, \nreturn False, the amount you selected, and the extracted amount.

###STEP 4###
Alternatively, the surrounding words of the extracted amount clearly indicate that it is not a valid amount\nreturn False along with a list of up to 5 indicating surrounding words.

###STEP 5###
Otherwise, Return True


### INVOICE TEXT ###
Jind!! REG Chi Backr $20.00-\n† Sima?! $28,00\n.\n$14,00\nich\n$26.00\n$13.00\n$16.50\n$14.75\n$14.00\n22 2 Small (Hawaiian) REG Hawalian\n$24.00\n$13.75\n$39.00\n(Pacific Veggie) $14.00\n(Chkllachii)\nREG ChkBack\nNo (ChiBacan) Chicken\n2 Small REC DE LUXA\n(Deluxe)\n| Small REG Deluxe\nNo (Deluxe) Sausage\n1 Small REG Deluxe\n(Deluxe)\nGruen Olives\nHot Peppers\n1 Small REG Deluxe\n(Deluxe)\nGreen Olives\n| Sma?? REG Extrav\n{Extrav)\n1 Smali REG Hawaiian\n(Hawailan)\nExtra Pineapple\n3 Small REG Neatzzä\n1 Swall (Meatzza) REG Pacific Veggie\n1 Small REG Pacific Veggja\n(Pacific Veggle) $14,00\nthin omist\n8 Small REG Pepp feast\n(Papp feast)\n1 Small REC Papp faast\n(Pepp feast)\nGreen Olives\nHot Peppers\n1 Swall REG Philly\n(Philly )\n1 Small REG Hawaiian\n(Hawaiian)\nBacon\nthin crust\n1 Small REG Veggie\n2 NAME_2) (Vogole) REG Pepp feast\n(Papp feast)\n2 Garlic Fingers\n14" $24,00\n2 16pc New Parm Hites\n30 Ranch Dip\n| IND Pasta Alfredo\n(Alfredo) $30.00\nExtra Chicken\n1 Apc Wings Honey Garlic\n✓ Ranch\nOnlar Off\n1 D) Delivery Charge\n$96.00\n$15.49\n$14.00\n$13.75\n$12.00\n$25.00\n$9.98\n$10.99\n$9.99\n$125,0\nSub Total\nH.S.T.\n$4.99\nTotal\n$428.18\n$55.66\n$403.84\n\n                    

### ENTITIES EXTRACTED ###  
the extracted amount is : 428.18 

#### 
NAME_1:                    
