How to select a taxonomy and set a number for it

In the new post page I want user to select a taxonomy and add a number for it. For example select taxonomy A and now you have to enter a number for it like 5.

A -> 0
B ->10
c -> 20

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed