I am working with some data in the bash shell and need to manipulate it using sed/awk, etc and need to subtract even rows from the odd rows. 

For instance:

```
51202598
51204294
51370060
51371733
51535314
51536526

```

would become:

```
1696
1673
1212

```

Thanks in advance.