Scusami, ma visto che sai già che saranno solo 2 elementi, non ti conviene usare un array?