21-bit to Integer Converter

Enter exactly 21 bits. The app follows your rule set and subtracts 1024 × 1024 at the end.