The total amount with A and C is Rs.60 while with B and C is Rs.80. If the total amount with A, B and C is Rs.130, then what is the amount with C?