It tells you the number to input in that form, but i don't know how to make script for that part :D
but ok:
- a opens url(obviously)
- b read html and strips it to math expression
- print b line you dont need actualy it prints math expression
- print eval(b.replace(' ',''), this line print...