I've just started to learn probability and statistics and I have difficulties solving the following question;
We have four different dice; one 4-sided, one 6-sided, and two 8-sided. They are all numbered usually starting from 1. One of our friends secretly grabs one of these dice at random and rolls it without showing us.
S = # of sides on the chosen die,
T = result of the roll
The question wants me to determine the joint distribution of S and T by listing all possible values of the pair (S, T) and their probabilities in a 3x8 table.
In order to solve the question, first I wrote the all possible values of S and their probabilities;
$4 -> P(X=4) = 1/4$
$6 -> P(X=6) = 1/4$
$8 -> P(X=8) = 1/2$
and I wrote the values of T = {1,2,3,4,5,6,7,8} and calculated their probabilities (for example, P(T=1) = 1/26, P(T=5) = 1/22, etc.).
Then I took the products of P(S) and P(T) for each element and put everything together in a table;

But as you can see it from the table, the marginal total is 537/1144 and I believe it should have been 1 instead of that. What was my mistake calculating the table?